|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WritableCachedStore
Nested Class Summary | |
---|---|
static interface |
WritableCachedStore.Manager
|
Method Summary | |
---|---|
void |
clearPendingWrites()
Clears any pending (unflushed or failed) writes and removes. |
void |
flushWrites()
flushes writes to back end, IN NO PARTICULAR ORDER! (If you write a key twice, the second write reliably supercedes the first, however.) If this method fails, you can use getFailedWrites() to see what keys could not be written. |
Set |
getFailedWrites()
|
void |
remove(Object key)
|
void |
reset()
Clears (WITHOUT WRITING) any pending (unflushed or failed) writes and removes, and any cached reads. |
void |
sync()
flushes writes and then clears cached reads. |
void |
write(Object key,
Object value)
|
Methods inherited from interface com.mchange.v1.cachedstore.CachedStore |
---|
find |
Method Detail |
---|
void write(Object key, Object value) throws CachedStoreException
CachedStoreException
void remove(Object key) throws CachedStoreException
CachedStoreException
void flushWrites() throws CacheFlushException
CacheFlushException
Set getFailedWrites() throws CachedStoreException
CachedStoreException
void clearPendingWrites() throws CachedStoreException
CachedStoreException
void reset() throws CachedStoreException
reset
in interface CachedStore
CachedStoreException
void sync() throws CachedStoreException
CachedStoreException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |