Package com.tangosol.persistence
Class AbstractPersistenceTools
java.lang.Object
com.tangosol.persistence.AbstractPersistenceTools
- All Implemented Interfaces:
com.oracle.coherence.persistence.PersistenceTools,com.oracle.datagrid.persistence.PersistenceTools
- Direct Known Subclasses:
AbstractPersistenceManager.AbstractPersistenceSnapshotTools
public abstract class AbstractPersistenceTools
extends Object
implements com.oracle.datagrid.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 ClassesModifier and TypeClassDescriptionprotected static classAn implementation of aCachePersistenceHelper.Visitorto collect details statistics from the snapshot we are analysing. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.oracle.datagrid.persistence.OfflinePersistenceInfoInformation about the snapshot or archived snapshot. -
Constructor Summary
ConstructorsConstructorDescriptionAbstractPersistenceTools(com.oracle.datagrid.persistence.OfflinePersistenceInfo info) Constructs an abstract implementation ofPersistenceToolsthat can be utilized for both local or archived snapshot operations. -
Method Summary
Modifier and TypeMethodDescriptioncom.oracle.datagrid.persistence.OfflinePersistenceInfoReturn summary information regarding the availablePersistentStores 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, waitMethods inherited from interface com.oracle.coherence.persistence.PersistenceTools
validateMethods inherited from interface com.oracle.datagrid.persistence.PersistenceTools
getStatistics
-
Field Details
-
f_info
protected final com.oracle.datagrid.persistence.OfflinePersistenceInfo f_infoInformation about the snapshot or archived snapshot.
-
-
Constructor Details
-
AbstractPersistenceTools
public AbstractPersistenceTools(com.oracle.datagrid.persistence.OfflinePersistenceInfo info) Constructs an abstract implementation ofPersistenceToolsthat can be utilized for both local or archived snapshot operations.- Parameters:
info- the information collected about the snapshot
-
-
Method Details
-
getPersistenceInfo
public com.oracle.datagrid.persistence.OfflinePersistenceInfo getPersistenceInfo()Description copied from interface:com.oracle.datagrid.persistence.PersistenceToolsReturn summary information regarding the availablePersistentStores under the context of thePersistenceManager(snapshot or archived snapshot).- Specified by:
getPersistenceInfoin interfacecom.oracle.coherence.persistence.PersistenceTools- Specified by:
getPersistenceInfoin interfacecom.oracle.datagrid.persistence.PersistenceTools- Returns:
- summary information about the specific snapshot
-
toString
-