|
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 |
Deprecated. In releases following 3.6 customization will be declarative.
public static interface HttpSessionCollection.SessionDistributionController
An optional interface to override the default distribution of session objects in the cluster, allowing the sessions to remain "local" to the originating application until a later point in the life of the session, that point determined by the implementation of this interface.
Further, once a session is distributed, the distribution of its attributes can be controlled in the same manner, specifying that some attributes remain local and others are distributed.
This interface exists primarily to assist in the conversion from non-distributed to distributed systems, particularly when concerns exist about the cost of distribution of all sessions and all attributes.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void init(HttpSessionCollection collection)
collection
- the HttpSessionCollection object for which the distribution controller is workingboolean isSessionDistributed(HttpSessionModel model)
model
- the model for the HttpSession to evaluate for distributionboolean isSessionAttributeDistributed(HttpSessionModel model, java.lang.String sName)
model
- the model for the HttpSession being evaluatedsName
- the name of the session attribute to evaluate for distribution
|
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 |