protected abstract class AbstractPersistenceManager.AbstractPersistenceSnapshotTools extends AbstractPersistenceTools
AbstractPersistenceTools.StatsVisitor| Modifier and Type | Field and Description |
|---|---|
protected File |
f_dirSnapshot
The snapshot directory.
|
f_info| Constructor and Description |
|---|
AbstractPersistenceSnapshotTools(File dirSnapshot, com.oracle.datagrid.persistence.OfflinePersistenceInfo info)
Construct an abstract implementation for a given snapshot directory.
|
| Modifier and Type | Method and 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.datagrid.persistence.PersistentStore<ReadBuffer> store)
Validate the given store is sealed.
|
protected void |
validateStoreSealed(String sCurrentGUID)
Validate the given store within the GUID is sealed.
|
getPersistenceInfoprotected 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.datagrid.persistence.PersistenceException - if the store is not sealedprotected void validateStoreSealed(com.oracle.datagrid.persistence.PersistentStore<ReadBuffer> store)
store - the persistent store to validatecom.oracle.datagrid.persistence.PersistenceException - if the store is not sealed