Skip navigation links
com.tangosol.util
Class NullImplementation.NullPersistentStore
java.lang.Object
com.tangosol.util.NullImplementation.NullPersistentStore
- All Implemented Interfaces:
- com.oracle.datagrid.persistence.PersistentStore
- Enclosing class:
- NullImplementation
-
public static class NullImplementation.NullPersistentStore
- extends java.lang.Object
- implements com.oracle.datagrid.persistence.PersistentStore
A PersistentStore
that does as little as possible.
Nested classes/interfaces inherited from interface com.oracle.datagrid.persistence.PersistentStore |
com.oracle.datagrid.persistence.PersistentStore.Visitor |
Method Summary |
void |
abort(java.lang.Object oToken)
|
java.lang.Object |
begin()
|
java.lang.Object |
begin(com.oracle.common.base.Collector collector, java.lang.Object oReceipt)
|
void |
commit(java.lang.Object oToken)
|
void |
deleteExtent(long lExtentId)
|
boolean |
ensureExtent(long lExtentId)
|
void |
erase(long lExtentId, java.lang.Object key, java.lang.Object oToken)
|
long[] |
extents()
|
java.lang.String |
getId()
|
void |
iterate(com.oracle.datagrid.persistence.PersistentStore.Visitor visitor)
|
java.lang.Object |
load(long lExtentId, java.lang.Object key)
|
void |
store(long lExtentId, java.lang.Object key, java.lang.Object value, java.lang.Object oToken)
|
INSTANCE
public static final NullImplementation.NullPersistentStore INSTANCE
- Singleton instance of a NullPersistentStore.
NullImplementation.NullPersistentStore
public NullImplementation.NullPersistentStore()
getId
public java.lang.String getId()
-
- Specified by:
getId
in interface com.oracle.datagrid.persistence.PersistentStore
ensureExtent
public boolean ensureExtent(long lExtentId)
-
- Specified by:
ensureExtent
in interface com.oracle.datagrid.persistence.PersistentStore
deleteExtent
public void deleteExtent(long lExtentId)
-
- Specified by:
deleteExtent
in interface com.oracle.datagrid.persistence.PersistentStore
extents
public long[] extents()
-
- Specified by:
extents
in interface com.oracle.datagrid.persistence.PersistentStore
load
public java.lang.Object load(long lExtentId,
java.lang.Object key)
-
- Specified by:
load
in interface com.oracle.datagrid.persistence.PersistentStore
store
public void store(long lExtentId,
java.lang.Object key,
java.lang.Object value,
java.lang.Object oToken)
-
- Specified by:
store
in interface com.oracle.datagrid.persistence.PersistentStore
erase
public void erase(long lExtentId,
java.lang.Object key,
java.lang.Object oToken)
-
- Specified by:
erase
in interface com.oracle.datagrid.persistence.PersistentStore
iterate
public void iterate(com.oracle.datagrid.persistence.PersistentStore.Visitor visitor)
-
- Specified by:
iterate
in interface com.oracle.datagrid.persistence.PersistentStore
begin
public java.lang.Object begin()
-
- Specified by:
begin
in interface com.oracle.datagrid.persistence.PersistentStore
begin
public java.lang.Object begin(com.oracle.common.base.Collector collector,
java.lang.Object oReceipt)
-
- Specified by:
begin
in interface com.oracle.datagrid.persistence.PersistentStore
commit
public void commit(java.lang.Object oToken)
-
- Specified by:
commit
in interface com.oracle.datagrid.persistence.PersistentStore
abort
public void abort(java.lang.Object oToken)
-
- Specified by:
abort
in interface com.oracle.datagrid.persistence.PersistentStore
Skip navigation links
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.