|
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 |
java.lang.Object
com.tangosol.coherence.servlet.SessionLocalBackingMapCacheDelegator
public class SessionLocalBackingMapCacheDelegator
An abstract base class from which implementations of HttpSessionCollection that use a SessionLocalBackingMap can be more easily built.
Constructor Summary | |
---|---|
SessionLocalBackingMapCacheDelegator() |
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. |
Constructor Detail |
---|
public SessionLocalBackingMapCacheDelegator()
Method Detail |
---|
public void deleteModel(AbstractHttpSessionCollection collection, AbstractHttpSessionModel model)
CacheDelegator
deleteModel
in interface CacheDelegator
collection
- the collection objmodel
- the model objpublic boolean containsKey(java.lang.String sId, AbstractHttpSessionCollection collection)
CacheDelegator
containsKey
in interface CacheDelegator
sId
- the session idcollection
- the session collection objpublic void optimisticModelUpdate(AbstractHttpSessionModel model)
CacheDelegator
optimisticModelUpdate
in interface CacheDelegator
model
- the session mdoelpublic java.util.Iterator getIteratorForPotentiallyExpiredIds(AbstractHttpSessionCollection collection)
CacheDelegator
getIteratorForPotentiallyExpiredIds
in interface CacheDelegator
collection
- the session collection objpublic AbstractHttpSessionModel getModel(java.lang.String sId, AbstractHttpSessionCollection collection)
CacheDelegator
getModel
in interface CacheDelegator
sId
- the session idcollection
- the session collection objpublic void putModel(AbstractHttpSessionModel model)
CacheDelegator
putModel
in interface CacheDelegator
model
- the session modelpublic void updateModelTimestamp(AbstractHttpSessionModel model)
CacheDelegator
updateModelTimestamp
in interface CacheDelegator
model
- the session model
|
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 |