|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.coherence.servlet.AbstractHttpSessionCollection.HybridController
Deprecated. In releases following 3.6 customization will be declarative.
public static class AbstractHttpSessionCollection.HybridController
A simple implementation of the SessionDistributionController interface that forces all sessions and serializable attributes to be managed in a distributed manner. All session attributes that do not implement the Serializable interface will be kept local.
| Constructor Summary | |
|---|---|
AbstractHttpSessionCollection.HybridController()Deprecated. |
|
| Method Summary | |
|---|---|
void |
addLocalClass(java.lang.Class c)Deprecated. Add a class which should never be distributed in the coherence cache. |
void |
init(HttpSessionCollection collection)Deprecated. Initialize the session distribution controller, so that it has the necessary context with which to make decisions regarding when to distribute sessions and their attributes. |
boolean |
isSessionAttributeDistributed(HttpSessionModel model, java.lang.String sName)Deprecated. Determine if the specified attribute of the HttpSession associated with the passed session model should be distributed. |
boolean |
isSessionDistributed(HttpSessionModel model)Deprecated. Determine if the HttpSession associated with the passed session model should be distributed. |
| Constructor Detail |
|---|
public AbstractHttpSessionCollection.HybridController()
| Method Detail |
|---|
public void init(HttpSessionCollection collection)
init in interface HttpSessionCollection.SessionDistributionControllercollection - the HttpSessionCollection object for which the distribution controller is workingpublic boolean isSessionDistributed(HttpSessionModel model)
isSessionDistributed in interface HttpSessionCollection.SessionDistributionControllermodel - the model for the HttpSession to evaluate for distribution
public boolean isSessionAttributeDistributed(HttpSessionModel model,
java.lang.String sName)
isSessionAttributeDistributed in interface HttpSessionCollection.SessionDistributionControllermodel - the model for the HttpSession being evaluatedsName - the name of the session attribute to evaluate for distributionpublic void addLocalClass(java.lang.Class c)
c - the class which is not be distrubted
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||