| Modifier and Type | Field and Description |
|---|---|
| pack-priv WritableCachedStore. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | clearPendingWrites()
Implements com. Clears any pending (unflushed or failed) writes and removes. |
| public Object | |
| public void | flushWrites()
Implements com. flushes writes to back end, IN NO PARTICULAR ORDER! |
| public Set | |
| public void | |
| public void | reset()
Implements com. Clears (WITHOUT WRITING) any pending (unflushed or failed) writes and removes, and any cached reads. |
| public void | sync()
Implements com. flushes writes and then clears cached reads. |
| public void |
| mgr | back to summary |
|---|---|
| pack-priv WritableCachedStore. | |
| NoCacheWritableCachedStore | back to summary |
|---|---|
| pack-priv NoCacheWritableCachedStore(WritableCachedStore. | |
| clearPendingWrites | back to summary |
|---|---|
| public void clearPendingWrites() throws CachedStoreException Implements com. Doc from com. Clears any pending (unflushed or failed) writes and removes. | |
| find | back to summary |
|---|---|
| public Object find(Object key) throws CachedStoreException Implements com. | |
| flushWrites | back to summary |
|---|---|
| public void flushWrites() throws CacheFlushException Implements com. Doc from com. 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. Values that failed to write are still "pending": they will attempt to write on the next flush, and will still be read from the cache. Use clearPendingWrites() to avoid seeing or writing these values again. | |
| getFailedWrites | back to summary |
|---|---|
| public Set Implements com.
| |
| remove | back to summary |
|---|---|
| public void remove(Object key) throws CachedStoreException Implements com. | |
| reset | back to summary |
|---|---|
| public void reset() Implements com. Doc from com. Clears (WITHOUT WRITING) any pending (unflushed or failed) writes and removes, and any cached reads. | |
| sync | back to summary |
|---|---|
| public void sync() throws CachedStoreException Implements com. Doc from com. flushes writes and then clears cached reads. On successful completion, the cache and the back-end store will be in sync with one another. | |
| write | back to summary |
|---|---|
| public void write(Object key, Object value) throws CachedStoreException Implements com. | |