|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tangosol.coherence.servlet.AbstractHttpSessionCollection.SimpleDistributedController
public static class AbstractHttpSessionCollection.SimpleDistributedController
A simple implementation of the SessionDistributionController interface that forces all sessions (and thus their attributes) to be managed in a distributed manner. (This is the default behavior, but by having an implementation that forces this, the raw overhead of using a HttpSessionController can be measured.)
Constructor Summary | |
---|---|
AbstractHttpSessionCollection.SimpleDistributedController()
|
Method Summary | |
---|---|
void |
init(HttpSessionCollection collection)
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,
String sName)
Determine if the specified attribute of the HttpSession associated with the passed session model should be distributed. |
boolean |
isSessionDistributed(HttpSessionModel model)
Determine if the HttpSession associated with the passed session model should be distributed. |
Constructor Detail |
---|
public AbstractHttpSessionCollection.SimpleDistributedController()
Method Detail |
---|
public void init(HttpSessionCollection collection)
init
in interface HttpSessionCollection.SessionDistributionController
collection
- the HttpSessionCollection object for which the
distribution controller is workingpublic boolean isSessionDistributed(HttpSessionModel model)
isSessionDistributed
in interface HttpSessionCollection.SessionDistributionController
model
- the model for the HttpSession to evaluate for
distribution
public boolean isSessionAttributeDistributed(HttpSessionModel model, String sName)
isSessionAttributeDistributed
in interface HttpSessionCollection.SessionDistributionController
model
- the model for the HttpSession being evaluatedsName
- the name of the session attribute to evaluate for
distribution
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |