|
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)
CacheDelegatordeleteModel in interface CacheDelegatorcollection - the collection objmodel - the model obj
public boolean containsKey(java.lang.String sId,
AbstractHttpSessionCollection collection)
CacheDelegatorcontainsKey in interface CacheDelegatorsId - the session idcollection - the session collection objpublic void optimisticModelUpdate(AbstractHttpSessionModel model)
CacheDelegatoroptimisticModelUpdate in interface CacheDelegatormodel - the session mdoelpublic java.util.Iterator getIteratorForPotentiallyExpiredIds(AbstractHttpSessionCollection collection)
CacheDelegatorgetIteratorForPotentiallyExpiredIds in interface CacheDelegatorcollection - the session collection obj
public AbstractHttpSessionModel getModel(java.lang.String sId,
AbstractHttpSessionCollection collection)
CacheDelegatorgetModel in interface CacheDelegatorsId - the session idcollection - the session collection objpublic void putModel(AbstractHttpSessionModel model)
CacheDelegatorputModel in interface CacheDelegatormodel - the session modelpublic void updateModelTimestamp(AbstractHttpSessionModel model)
CacheDelegatorupdateModelTimestamp in interface CacheDelegatormodel - 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 | |||||||