|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface CacheDelegator
An interface for a class that will perform all cluster cache related operations
| Method Summary | |
|---|---|
boolean |
containsKey(java.lang.String sId, AbstractHttpSessionCollection collection)Check if the cluster cache contains a session obj. |
void |
deleteModel(AbstractHttpSessionCollection collection, AbstractHttpSessionModel model)Delete the session from the cluster cache. |
java.util.Iterator |
getIteratorForPotentiallyExpiredIds(AbstractHttpSessionCollection collection)Retrieve an iterator of potentially expired session ids. |
AbstractHttpSessionModel |
getModel(java.lang.String sId, AbstractHttpSessionCollection collection)Retrieve a model from the cluster cache |
void |
optimisticModelUpdate(AbstractHttpSessionModel model)Perform an optimistic model update in the cache. |
void |
putModel(AbstractHttpSessionModel model)Put a session model in the cache. |
void |
updateModelTimestamp(AbstractHttpSessionModel model)Update a session model timestamp in the cache. |
| Method Detail |
|---|
void deleteModel(AbstractHttpSessionCollection collection,
AbstractHttpSessionModel model)
collection - the collection objmodel - the model obj
boolean containsKey(java.lang.String sId,
AbstractHttpSessionCollection collection)
sId - the session idcollection - the session collection objjava.util.Iterator getIteratorForPotentiallyExpiredIds(AbstractHttpSessionCollection collection)
collection - the session collection obj
AbstractHttpSessionModel getModel(java.lang.String sId,
AbstractHttpSessionCollection collection)
sId - the session idcollection - the session collection objvoid putModel(AbstractHttpSessionModel model)
model - the session modelvoid updateModelTimestamp(AbstractHttpSessionModel model)
model - the session modelvoid optimisticModelUpdate(AbstractHttpSessionModel model)
model - the session mdoel
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||