R - the raw value typepublic static class NullImplementation.NullPersistenceEnvironment<R> extends Object implements com.oracle.coherence.persistence.PersistenceEnvironment<R>
PersistenceEnvironment that does nothing.| Modifier and Type | Field | Description |
|---|---|---|
static NullImplementation.NullPersistenceEnvironment |
INSTANCE |
Singleton instance of a NullPersistenceEnvironment.
|
| Constructor | Description |
|---|---|
NullPersistenceEnvironment() |
| Modifier and Type | Method | Description |
|---|---|---|
com.oracle.coherence.persistence.PersistenceManager<R> |
createSnapshot(String sSnapshot,
com.oracle.coherence.persistence.PersistenceManager<R> manager) |
Create a PersistenceManager used to manage the snapshot with the
specified identifier.
|
String[] |
listSnapshots() |
Return the identifiers of the snapshots known to this environment.
|
com.oracle.coherence.persistence.PersistenceManager<R> |
openActive() |
Open and return the singleton active PersistenceManager.
|
com.oracle.coherence.persistence.PersistenceManager<R> |
openSnapshot(String sSnapshot) |
Open a PersistenceManager used to access the snapshot with the
specified identifier.
|
void |
release() |
Release all resources held by this environment.
|
boolean |
removeSnapshot(String sSnapshot) |
Remove the persistent artifacts associated with the snapshot with the
specified identifier.
|
public static final NullImplementation.NullPersistenceEnvironment INSTANCE
public com.oracle.coherence.persistence.PersistenceManager<R> openActive()
openActive in interface com.oracle.coherence.persistence.PersistenceEnvironment<R>public com.oracle.coherence.persistence.PersistenceManager<R> openSnapshot(String sSnapshot)
openSnapshot in interface com.oracle.coherence.persistence.PersistenceEnvironment<R>sSnapshot - the snapshot identifierpublic com.oracle.coherence.persistence.PersistenceManager<R> createSnapshot(String sSnapshot, com.oracle.coherence.persistence.PersistenceManager<R> manager)
createSnapshot in interface com.oracle.coherence.persistence.PersistenceEnvironment<R>sSnapshot - the snapshot identifiermanager - the optional PersistenceManager to create a snapshot
of; if null, an empty snapshot will be createdpublic boolean removeSnapshot(String sSnapshot)
removeSnapshot in interface com.oracle.coherence.persistence.PersistenceEnvironment<R>sSnapshot - the snapshot identifierpublic String[] listSnapshots()
listSnapshots in interface com.oracle.coherence.persistence.PersistenceEnvironment<R>public void release()
release in interface com.oracle.coherence.persistence.PersistenceEnvironment<R>