|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TierableStore
This is the interface for all tierable stores.
| Field Summary |
|---|
| Fields inherited from interface net.sf.ehcache.store.Store |
|---|
CLUSTER_COHERENT, NODE_COHERENT |
| Method Summary | |
|---|---|
void |
fill(Element e)
Add this element to the cache if the key is already present or the add can succeed without resorting to eviction. |
Set |
getPresentPinnedKeys()
Returns all the keys that are pinned, for which there is a mapping present |
boolean |
isPersistent()
Is this store persistent (data survives a JVM restart) |
boolean |
isTierPinned()
Is this TierableStore pinned ? |
boolean |
removeIfNotPinned(Object key)
This method will only remove if the element or the store is not pinned and the key is present in the store |
void |
removeNoReturn(Object key)
Removes an item from the cache. |
| Method Detail |
|---|
void fill(Element e)
e - element to be addedboolean removeIfNotPinned(Object key)
key - the key to the element
Store.remove(Object)void removeNoReturn(Object key)
boolean isTierPinned()
Set getPresentPinnedKeys()
boolean isPersistent()
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||