|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.coherence.servlet.ConfigurationImpl
Deprecated. In releases following 3.6 customization will be declarative.
public class ConfigurationImpl
Class implementing the SessionHelperConfiguration
and HttpSessionCollectionConfiguration
interfaces.
Constructor Summary | |
---|---|
ConfigurationImpl() Deprecated. |
Method Summary | |
---|---|
String |
checkCompatible(com.tangosol.coherence.servlet.ValidatingConfiguration configuration) Deprecated. Compares an existing configuration with a new one. |
String |
getApplicationName() Deprecated. Return the name of the web application. |
int |
getAsyncExitDelayMillis() Deprecated. The length of time to defer async exit on a session that is accessed "out of context". |
protected static boolean |
getBooleanValue(XmlElement xml, String param, boolean defaultValue) Deprecated. |
int |
getDaemonMaxThreads() Deprecated. The maximum number of threads used by the session reaper daemon. |
int |
getDaemonMinThreads() Deprecated. The minimum number of threads used by the session reaper daemon. |
int |
getDaemonQueueSize() Deprecated. The queue size of the session reaper daemon work manager. |
String |
getDeathCertCacheName() Deprecated. The name of the clustered cache that stores the IDs of "recently departed" sessions. |
String |
getDistControllerClassName() Deprecated. The name of an implementation of the SessionDistributionController interface to use. |
String |
getHttpSessionCollectionClassName() Deprecated. The name of the class implementing HttpSessionCollection. |
protected static int |
getIntValue(XmlElement xml, String param, int defaultValue) Deprecated. |
String |
getLocalAttributesCacheName() Deprecated. The name of the local cache that stores non-distributed session attributes (if allowed.) |
String |
getLocalSessionCacheName() Deprecated. The name of the local cache that stores non-distributed sessions when the SessionDistributionController option is implemented. |
int |
getLockTimeout() Deprecated. The maximum time (in seconds) that Coherence*Web will wait attempting to aquire a lock on a session. |
String |
getManagementCacheName() Deprecated. The name of the clustered cache that stores the sessions management configuration data. |
int |
getMaxInactiveSeconds() Deprecated. Determine the default maximum interval, in seconds, that a session will be kept alive without any activity. |
String |
getOwnershipServiceName() Deprecated. The name of the invocation service that will be used to manage sticky session ownership. |
int |
getReaperCheckCollectionModulo() Deprecated. Determine how many times the reaper will perform its check before checking the session models that the collection considers "local". |
int |
getReaperCycleSeconds() Deprecated. Determine the number of seconds per reap cycle. |
int |
getReaperPriority() Deprecated. Determine the configured priority for the session reaper. |
String |
getScopeControllerClassName() Deprecated. The name of an implementation of the AttributeScopeController interface to use. |
int |
getServletContextVersionMajor() Deprecated. Returns the major version of the Java Servlet API that the underlying servlet container. |
int |
getServletContextVersionMinor() Deprecated. Returns the minor version of the Servlet API that this servlet container supports. |
String |
getSessionCacheName() Deprecated. The name of the clustered cache that stores the sessions. |
String |
getSessionExpiryFilterFactoryClassName() Deprecated. A class name of a SessionExpiryFilterFactory implementation. |
String |
getSessionIdCookieDomain() Deprecated. Determine the domain of the cookie for holding the session ID. |
int |
getSessionIdCookieMaxAgeSeconds() Deprecated. Determine the max age (in seconds) of the cookie for holding the session ID. |
String |
getSessionIdCookieName() Deprecated. Determine the name of the cookie for holding the session ID. |
String |
getSessionIdCookiePath() Deprecated. Determine the path of the cookie for holding the session ID. |
String |
getSessionIdEncodingName() Deprecated. Determine the name of the URL parameter for session ID encoding and decoding. |
String |
getSessionIdGeneratorClassName() Deprecated. The fully qualified class name of the HttpSessionIdGenerator implementation to use. |
int |
getSessionIdLength() Deprecated. Determine the length that session IDs will be created with. |
int |
getShutdownDelaySeconds() Deprecated. Determine the number of seconds to defer shutdown after the app appears to have stopped. |
protected static String |
getStringValue(XmlElement xml, String param, String defaultValue) Deprecated. |
boolean |
isAllowLocalAttributes() Deprecated. Determine if non-serializable attributes should be preserved as local. |
protected boolean |
isApplicationNameGenerated() Deprecated. |
boolean |
isAppLockingEnforced() Deprecated. Determine whether or not two or more applications should be prevented from accessing the same session simultaneously. |
boolean |
isClusterOwned() Deprecated. Determine if the responsibility for shutting down the cluster is owned by the application. |
boolean |
isConfigurationConsistencyRequired() Deprecated. Used to check if the configuration consistency check is required. |
boolean |
isEnableAttributeListenerOptimization() Deprecated. Determine if attribute listeners should be executed if the same instance of a session attribute is being replaced in the session. |
boolean |
isEnableSuspectAttributes() Deprecated. Determine if suspect attributes need special treatment. |
boolean |
isMemberLockingEnforced() Deprecated. Determine whether or not two or more JVMs should be prevented from accessing the same session simultaneously. |
boolean |
isOwnershipSticky() Deprecated. Determine if the sticky session ownership option is on. |
boolean |
isReaperAssumeLocality() Deprecated. Determine if it can be assumed that each existent session is managed on a server that is doing reaping, and thus each server can reap only the sessions that are managed on it. |
boolean |
isReaperCheckCoordinated() Deprecated. Determine if the reaper coordinates the check across the cluster instead of just doing its own "local" scan. |
boolean |
isReapingParallel() Deprecated. Flag to indicate whether to use parallel session reaping or not. |
boolean |
isServletContextClustered() Deprecated. Determine if the Servlet context clusters attributes. |
boolean |
isSessionContextEnabled() Deprecated. Determine if the session context should disobey the deprecation and allow an application to enumerate sessions. |
boolean |
isSessionIdCookieEnabled() Deprecated. Determine if a cookie may be used to hold the session ID. |
boolean |
isSessionIdCookieSecure() Deprecated. Determine if the session cookie will only be sent from the client over a SSL connection. |
boolean |
isSessionIdEncodingEnabled() Deprecated. Determine if a cookie may be used to hold the session ID. |
boolean |
isSessionLazyAccess() Deprecated. True if access to the session is lazy rather than on entry to service method |
boolean |
isSessionLockingEnforced() Deprecated. Determine whether concurrent access to a session is permitted. |
boolean |
isStrict() Deprecated. Determine if the Servlet specification is being followed strictly. |
boolean |
isThreadLockingEnforced() Deprecated. Determine whether a session should be single threaded (only one request per session accessing the session at a time) or multithreaded (any number of requests accessing the session at a time). |
boolean |
isUseDefaultSessionIdDecoding() Deprecated. Determine if the session ID decoding (from a URL) performed by the application server's request object is sufficient. |
boolean |
isUseDefaultSessionIdEncoding() Deprecated. Determine if the session ID encoding (into a URL) performed by the application server's response object is sufficient. |
boolean |
logThreadsHoldingLock() Deprecated. When a member fails to obtain a lock on a session, execute an invocation service on the member holding the session lock to log the threads that are holding the lock. |
String |
toString() Deprecated. |
Constructor Detail |
---|
public ConfigurationImpl()
Method Detail |
---|
public String toString()
public int getServletContextVersionMajor()
public int getServletContextVersionMinor()
public String getApplicationName()
public boolean isClusterOwned()
public boolean isServletContextClustered()
public boolean isSessionContextEnabled()
public int getAsyncExitDelayMillis()
public boolean isSessionIdCookieEnabled()
public String getSessionIdCookieName()
public String getSessionIdCookieDomain()
public String getSessionIdCookiePath()
public int getSessionIdCookieMaxAgeSeconds()
public boolean isSessionIdCookieSecure()
public boolean isSessionIdEncodingEnabled()
public String getSessionIdEncodingName()
public boolean isUseDefaultSessionIdDecoding()
public boolean isUseDefaultSessionIdEncoding()
public boolean isStrict()
public int getReaperPriority()
public int getReaperCycleSeconds()
public boolean isReaperCheckCoordinated()
public int getReaperCheckCollectionModulo()
public boolean isReaperAssumeLocality()
public int getShutdownDelaySeconds()
public boolean isSessionLazyAccess()
public String getManagementCacheName()
protected boolean isApplicationNameGenerated()
public boolean isConfigurationConsistencyRequired()
public int getDaemonMaxThreads()
public int getDaemonMinThreads()
public boolean isReapingParallel()
public String getHttpSessionCollectionClassName()
public boolean isOwnershipSticky()
public String getOwnershipServiceName()
public String getSessionCacheName()
public String getDeathCertCacheName()
public String getDistControllerClassName()
public String getScopeControllerClassName()
public String getLocalSessionCacheName()
public String getLocalAttributesCacheName()
public boolean isAllowLocalAttributes()
public boolean isEnableSuspectAttributes()
public boolean isEnableAttributeListenerOptimization()
public int getMaxInactiveSeconds()
public int getSessionIdLength()
public String getSessionIdGeneratorClassName()
public boolean isSessionLockingEnforced()
isMemberLockingEnforced()
or isAppLockingEnforced()
or isMemberLockingEnforced()
return true, then so will this method. <p/> If this is set to false, then concurrent access is permitted and the last update wins.public boolean isMemberLockingEnforced()
public boolean isAppLockingEnforced()
isMemberLockingEnforced()
will also be true.public boolean isThreadLockingEnforced()
isMemberLockingEnforced()
and isAppLockingEnforced()
will also be true.public int getLockTimeout()
public String getSessionExpiryFilterFactoryClassName()
public boolean logThreadsHoldingLock()
public int getDaemonQueueSize()
protected static String getStringValue(XmlElement xml, String param, String defaultValue)
public String checkCompatible(com.tangosol.coherence.servlet.ValidatingConfiguration configuration)
configuration
- the new configuration.protected static boolean getBooleanValue(XmlElement xml, String param, boolean defaultValue)
protected static int getIntValue(XmlElement xml, String param, int defaultValue)
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |