|
||||||||||
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,
HashKey cacheKey,
MnodeEntry mnodeValue,
MnodeEntry oldMnodeValue)
|
boolean |
isDataAvailable(long valueDataId)
|
java.sql.Blob |
loadBlob(long valueDataId)
|
boolean |
loadData(long valueDataId,
WriteStream os)
|
MnodeEntry |
loadLocalEntryValue(HashKey key)
|
boolean |
putLocalValue(MnodeEntry mnodeValue,
HashKey key,
HashKey cacheKey,
MnodeEntry oldEntryValue,
MnodeUpdate mnodeUpdate)
Sets a cache entry |
boolean |
removeData(long valueDataId)
|
long |
saveData(java.io.InputStream mIn,
int length)
|
long |
saveData(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, HashKey cacheKey, MnodeEntry mnodeValue, MnodeEntry oldMnodeValue)
MnodeEntry saveLocalUpdateTime(HashKey keyHash, MnodeEntry mnodeValue, MnodeEntry oldMnodeValue)
boolean putLocalValue(MnodeEntry mnodeValue, HashKey key, HashKey cacheKey, MnodeEntry oldEntryValue, MnodeUpdate mnodeUpdate)
boolean loadData(long valueDataId, WriteStream os) throws java.io.IOException
java.io.IOException
java.sql.Blob loadBlob(long valueDataId)
long saveData(java.io.InputStream mIn, int length) throws java.io.IOException
java.io.IOException
long saveData(StreamSource source, int length)
boolean removeData(long valueDataId)
boolean isDataAvailable(long valueDataId)
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 |