Package com.tangosol.persistence
Interface PersistenceEnvironmentInfo
- All Known Implementing Classes:
AbstractPersistenceEnvironment
,PersistenceEnvironmentParamBuilder.PersistenceEnvironmentInfo
public interface PersistenceEnvironmentInfo
Interface that exposes management attributes for a PersistenceEnvironment.
- Author:
- jh 2013.07.02
-
Method Summary
Modifier and TypeMethodDescriptionReturn the directory under which cached data is actively persisted by the environment.long
Return the total size in bytes used by the persistence layer to persist mutating cache operations.Return the directory under which cached data is actively persisted by the environment.long
Return the total size in bytes used by the persistence layer to persist backups of mutating cache operations.Return the directory under which cached data is actively persisted by the environment.Return the directory under which copies of cached data are persisted by the environment.Return the directory under which potentially corrupted persisted data is stored by the environment.
-
Method Details
-
getPersistenceActiveDirectory
File getPersistenceActiveDirectory()Return the directory under which cached data is actively persisted by the environment.- Returns:
- the active directory
-
getPersistenceBackupDirectory
File getPersistenceBackupDirectory()Return the directory under which cached data is actively persisted by the environment.- Returns:
- the backup directory
-
getPersistenceEventsDirectory
File getPersistenceEventsDirectory()Return the directory under which cached data is actively persisted by the environment.- Returns:
- the events directory
-
getPersistenceSnapshotDirectory
File getPersistenceSnapshotDirectory()Return the directory under which copies of cached data are persisted by the environment.- Returns:
- the snapshot directory
-
getPersistenceTrashDirectory
File getPersistenceTrashDirectory()Return the directory under which potentially corrupted persisted data is stored by the environment.- Returns:
- the trash directory
-
getPersistenceActiveSpaceUsed
long getPersistenceActiveSpaceUsed()Return the total size in bytes used by the persistence layer to persist mutating cache operations.- Returns:
- the total size
-
getPersistenceBackupSpaceUsed
long getPersistenceBackupSpaceUsed()Return the total size in bytes used by the persistence layer to persist backups of mutating cache operations.- Returns:
- the total size
-