protected abstract class AbstractPersistenceManager.AbstractPersistenceSnapshotTools extends AbstractPersistenceTools
AbstractPersistenceTools.StatsVisitor| Modifier and Type | Field | Description |
|---|---|---|
protected File |
f_dirSnapshot |
The snapshot directory.
|
f_info| Constructor | Description |
|---|---|
AbstractPersistenceSnapshotTools(File dirSnapshot,
com.oracle.datagrid.persistence.OfflinePersistenceInfo info) |
Construct an abstract implementation for a given snapshot directory.
|
| Modifier and Type | Method | Description |
|---|---|---|
com.oracle.datagrid.persistence.PersistenceStatistics |
getStatistics() |
Get the
PersistenceStatistics for a local snapshot by using the
implementation manager and visiting the store. |
protected void |
validateStoreSealed(com.oracle.coherence.persistence.PersistentStore<ReadBuffer> store) |
Validate the given store is sealed.
|
protected void |
validateStoreSealed(String sCurrentGUID) |
Validate the given store within the GUID is sealed.
|
getPersistenceInfo, toStringprotected final File f_dirSnapshot
public AbstractPersistenceSnapshotTools(File dirSnapshot, com.oracle.datagrid.persistence.OfflinePersistenceInfo info)
dirSnapshot - the directory where the snapshot isinfo - the information collected regarding the snapshotpublic com.oracle.datagrid.persistence.PersistenceStatistics getStatistics()
PersistenceStatistics for a local snapshot by using the
implementation manager and visiting the store.protected void validateStoreSealed(String sCurrentGUID)
sCurrentGUID - the GUID to open store fromcom.oracle.coherence.persistence.PersistenceException - if the store is not sealedprotected void validateStoreSealed(com.oracle.coherence.persistence.PersistentStore<ReadBuffer> store)
store - the persistent store to validatecom.oracle.coherence.persistence.PersistenceException - if the store is not sealed