CacheWriterManager coordinates how element are written to a back-end store.
The CacheWriterManager will in its turn call the CacheWriter that belongs to the relevant cache to perform
the actual write logic as it's implemented by the user.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | remove(CacheEntry
the entry that should be used for the operation entry)Schedule a remove operation for this key in the CacheWriterManager, which will call the CacheWriter when appropriate. |
| dispose | back to summary |
|---|---|
| public void dispose() throws CacheException Cleans up the resources of the cache writer manager. This method is called when the manager is unregistered from a cache. | |
| init | back to summary |
|---|---|
| public void init(Cache cache) throws CacheException Initialize the cache writer manager. This method is called when the cache writer manager is registered to a cache.
| |
| put | back to summary |
|---|---|
| public void put(Element element) throws CacheException Schedule a put operation for this element in the CacheWriterManager, which will call the CacheWriter when appropriate.
| |
| remove | back to summary |
|---|---|
| public void remove(CacheEntry entry) throws CacheException Schedule a remove operation for this key in the CacheWriterManager, which will call the CacheWriter when appropriate.
| |