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 Classes Modifier and Type Class Description protected static classAbstractPersistenceTools.StatsVisitorAn implementation of aCachePersistenceHelper.Visitorto collect details statistics from the snapshot we are analysing.
-
Field Summary
Fields Modifier and Type Field Description protected com.oracle.datagrid.persistence.OfflinePersistenceInfof_infoInformation about the snapshot or archived snapshot.
-
Constructor Summary
Constructors Constructor Description AbstractPersistenceTools(com.oracle.datagrid.persistence.OfflinePersistenceInfo info)Constructs an abstract implementation ofPersistenceToolsthat can be utilized for both local or archived snapshot operations.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.oracle.datagrid.persistence.OfflinePersistenceInfogetPersistenceInfo()Return summary information regarding the availablePersistentStores under the context of thePersistenceManager(snapshot or archived snapshot).StringtoString()
-
-
-
Constructor Detail
-
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 Detail
-
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
-
-