public interface WritableCachedStore extends CachedStore
| Modifier and Type | Interface and Description |
|---|---|
static interface |
WritableCachedStore.Manager |
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.util.Set |
getFailedWrites() |
void |
remove(java.lang.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(java.lang.Object key,
java.lang.Object value) |
findvoid write(java.lang.Object key,
java.lang.Object value)
throws CachedStoreException
CachedStoreExceptionvoid remove(java.lang.Object key)
throws CachedStoreException
CachedStoreExceptionvoid flushWrites()
throws CacheFlushException
CacheFlushExceptionjava.util.Set getFailedWrites()
throws CachedStoreException
CachedStoreExceptionvoid clearPendingWrites()
throws CachedStoreException
CachedStoreExceptionvoid reset()
throws CachedStoreException
reset in interface CachedStoreCachedStoreExceptionvoid sync() throws CachedStoreException
CachedStoreException