Package com.tangosol.persistence
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
Modifier and TypeClassDescriptionprotected static class
An implementation of aCachePersistenceHelper.Visitor
to collect details statistics from the snapshot we are analysing. -
Field Summary
Modifier and TypeFieldDescriptionprotected final com.oracle.coherence.persistence.OfflinePersistenceInfo
Information about the snapshot or archived snapshot. -
Constructor Summary
ConstructorDescriptionAbstractPersistenceTools
(com.oracle.coherence.persistence.OfflinePersistenceInfo info) Constructs an abstract implementation ofPersistenceTools
that can be utilized for both local or archived snapshot operations. -
Method Summary
Modifier and TypeMethodDescriptioncom.oracle.coherence.persistence.OfflinePersistenceInfo
Return summary information regarding the availablePersistentStore
s under the context of thePersistenceManager
(snapshot or archived snapshot).toString()
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_infoInformation about the snapshot or archived snapshot.
-
-
Constructor Details
-
AbstractPersistenceTools
public AbstractPersistenceTools(com.oracle.coherence.persistence.OfflinePersistenceInfo info) Constructs an abstract implementation ofPersistenceTools
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 availablePersistentStore
s under the context of thePersistenceManager
(snapshot or archived snapshot).- Specified by:
getPersistenceInfo
in interfacecom.oracle.coherence.persistence.PersistenceTools
- Returns:
- summary information about the specific snapshot
-
toString
-