Class AbstractPersistenceTools

java.lang.Object
com.tangosol.persistence.AbstractPersistenceTools
All Implemented Interfaces:
com.oracle.coherence.persistence.PersistenceTools
Direct Known Subclasses:
AbstractPersistenceManager.AbstractPersistenceSnapshotTools

public abstract class AbstractPersistenceTools extends Object implements com.oracle.coherence.persistence.PersistenceTools
Abstract implementation of PersistenceTools which can be extended for either local or archived snapshot operations.
Since:
12.2.1
Author:
tam/hr 2014.11.21
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected static class 
    An implementation of a CachePersistenceHelper.Visitor to collect details statistics from the snapshot we are analysing.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final com.oracle.coherence.persistence.OfflinePersistenceInfo
    Information about the snapshot or archived snapshot.
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractPersistenceTools(com.oracle.coherence.persistence.OfflinePersistenceInfo info)
    Constructs an abstract implementation of PersistenceTools that can be utilized for both local or archived snapshot operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.oracle.coherence.persistence.OfflinePersistenceInfo
    Return summary information regarding the available PersistentStores under the context of the PersistenceManager (snapshot or archived snapshot).
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.oracle.coherence.persistence.PersistenceTools

    getStatistics, validate
  • Field Details

    • f_info

      protected final com.oracle.coherence.persistence.OfflinePersistenceInfo f_info
      Information about the snapshot or archived snapshot.
  • Constructor Details

    • AbstractPersistenceTools

      public AbstractPersistenceTools(com.oracle.coherence.persistence.OfflinePersistenceInfo info)
      Constructs an abstract implementation of PersistenceTools that can be utilized for both local or archived snapshot operations.
      Parameters:
      info - the information collected about the snapshot
  • Method Details

    • getPersistenceInfo

      public com.oracle.coherence.persistence.OfflinePersistenceInfo getPersistenceInfo()
      Description copied from interface: com.oracle.coherence.persistence.PersistenceTools
      Return summary information regarding the available PersistentStores under the context of the PersistenceManager (snapshot or archived snapshot).
      Specified by:
      getPersistenceInfo in interface com.oracle.coherence.persistence.PersistenceTools
      Returns:
      summary information about the specific snapshot
    • toString

      public String toString()
      Overrides:
      toString in class Object