|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheDataBacking
The local cache repository.
| Method Summary | |
|---|---|
void |
close()
Close the backing. |
DataStore |
getDataStore()
Returns the underlying DataStore, used for serialization. |
MnodeStore |
getMnodeStore()
|
long |
getStartupLastUpdateTime()
Returns the last update time on server startup. |
long |
getStartupLastUpdateTime(HashKey cacheKey)
Returns the last update time on server startup. |
java.util.ArrayList<CacheData> |
getUpdates(HashKey cacheKey,
long accessTime,
int offset)
Returns a set of entries since an access time. |
java.util.ArrayList<CacheData> |
getUpdates(long accessTime,
int offset)
Returns a set of entries since an access time. |
MnodeEntry |
insertLocalValue(HashKey key,
MnodeEntry mnodeValue,
MnodeEntry oldMnodeValue)
|
boolean |
isDataAvailable(HashKey valueKey)
|
java.sql.Blob |
loadBlob(HashKey valueHash)
|
boolean |
loadData(HashKey valueHash,
WriteStream os)
|
MnodeEntry |
loadLocalEntryValue(HashKey key)
|
boolean |
putLocalValue(MnodeEntry mnodeValue,
HashKey key,
MnodeEntry oldEntryValue,
MnodeUpdate mnodeUpdate)
Sets a cache entry |
boolean |
saveData(HashKey valueHash,
StreamSource source,
int length)
|
MnodeEntry |
saveLocalUpdateTime(HashKey keyHash,
MnodeEntry mnodeValue,
MnodeEntry oldMnodeValue)
|
void |
start()
|
| Method Detail |
|---|
DataStore getDataStore()
MnodeStore getMnodeStore()
void start()
MnodeEntry loadLocalEntryValue(HashKey key)
MnodeEntry insertLocalValue(HashKey key,
MnodeEntry mnodeValue,
MnodeEntry oldMnodeValue)
MnodeEntry saveLocalUpdateTime(HashKey keyHash,
MnodeEntry mnodeValue,
MnodeEntry oldMnodeValue)
boolean putLocalValue(MnodeEntry mnodeValue,
HashKey key,
MnodeEntry oldEntryValue,
MnodeUpdate mnodeUpdate)
boolean loadData(HashKey valueHash,
WriteStream os)
throws java.io.IOException
java.io.IOExceptionjava.sql.Blob loadBlob(HashKey valueHash)
boolean saveData(HashKey valueHash,
StreamSource source,
int length)
throws java.io.IOException
java.io.IOExceptionboolean isDataAvailable(HashKey valueKey)
long getStartupLastUpdateTime()
long getStartupLastUpdateTime(HashKey cacheKey)
java.util.ArrayList<CacheData> getUpdates(long accessTime,
int offset)
java.util.ArrayList<CacheData> getUpdates(HashKey cacheKey,
long accessTime,
int offset)
void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||