|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.io.AbstractBinaryStore
public abstract class AbstractBinaryStore
Abstract implementation of the BinaryStore interface.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.tangosol.io.BinaryStore |
---|
BinaryStore.KeySetAware, BinaryStore.SizeAware |
Constructor Summary | |
---|---|
AbstractBinaryStore() |
Method Summary | |
---|---|
void |
erase(Binary binKey) Remove the specified key from the underlying store if present. |
void |
eraseAll() Remove all data from the underlying store. |
static java.io.File |
getDefaultDirectory() Obtain a File object for the default directory to use for file storage. |
java.util.Iterator |
keys() Iterate all keys in the underlying store. |
abstract Binary |
load(Binary binKey) Return the value associated with the specified key, or null if the key does not have an associated value in the underlying store. |
void |
store(Binary binKey, Binary binValue) Store the specified value under the specific key in the underlying store. |
Constructor Detail |
---|
public AbstractBinaryStore()
Method Detail |
---|
public abstract Binary load(Binary binKey)
load
in interface BinaryStore
binKey
- key whose associated value is to be returnedpublic void store(Binary binKey, Binary binValue)
store
in interface BinaryStore
binKey
- key to store the value underbinValue
- value to be storedjava.lang.UnsupportedOperationException
- if this implementation or the underlying store is read-onlypublic void erase(Binary binKey)
erase
in interface BinaryStore
binKey
- key whose mapping is to be removed from the mapjava.lang.UnsupportedOperationException
- if this implementation or the underlying store is read-onlypublic void eraseAll()
eraseAll
in interface BinaryStore
java.lang.UnsupportedOperationException
- if this implementation or the underlying store is read-onlypublic java.util.Iterator keys()
keys
in interface BinaryStore
java.lang.UnsupportedOperationException
- if the underlying store is not iterablepublic static java.io.File getDefaultDirectory()
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |