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 class
AbstractPersistenceTools.StatsVisitor
An implementation of aCachePersistenceHelper.Visitor
to collect details statistics from the snapshot we are analysing.
-
Field Summary
Fields Modifier and Type Field Description protected com.oracle.datagrid.persistence.OfflinePersistenceInfo
f_info
Information about the snapshot or archived snapshot.
-
Constructor Summary
Constructors Constructor Description AbstractPersistenceTools(com.oracle.datagrid.persistence.OfflinePersistenceInfo info)
Constructs an abstract implementation ofPersistenceTools
that 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.OfflinePersistenceInfo
getPersistenceInfo()
Return summary information regarding the availablePersistentStore
s under the context of thePersistenceManager
(snapshot or archived snapshot).String
toString()
-
-
-
Constructor Detail
-
AbstractPersistenceTools
public AbstractPersistenceTools(com.oracle.datagrid.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 Detail
-
getPersistenceInfo
public com.oracle.datagrid.persistence.OfflinePersistenceInfo getPersistenceInfo()
Description copied from interface:com.oracle.datagrid.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
- Specified by:
getPersistenceInfo
in interfacecom.oracle.datagrid.persistence.PersistenceTools
- Returns:
- summary information about the specific snapshot
-
-