|
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.ConfigurationImpl
Deprecated. In releases following 3.6 customization will be declarative.
public class ConfigurationImpl
Class implementing the SessionHelperConfiguration
HttpSessionCollectionConfiguration
and SplitSessionCollectionConfiguration
interfaces.
Constructor Summary | |
---|---|
ConfigurationImpl() Deprecated. |
Method Summary | |
---|---|
java.lang.String |
checkCompatible(com.tangosol.coherence.servlet.ValidatingConfiguration configuration) Deprecated. Compares an existing configuration with a new one. |
java.lang.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, java.lang.String param, boolean defaultValue) Deprecated. |
java.lang.String |
getCacheDelegatorClassName() Deprecated. The fully qualified class name of the CacheDelegator implementation to use. |
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. |
java.lang.String |
getDeathCertCacheName() Deprecated. The name of the clustered cache that stores the IDs of "recently departed" sessions. |
java.lang.String |
getDistControllerClassName() Deprecated. The name of an implementation of the SessionDistributionController interface to use. |
java.lang.String |
getHttpSessionCollectionClassName() Deprecated. The name of the class implementing HttpSessionCollection. |
protected static int |
getIntValue(XmlElement xml, java.lang.String param, int defaultValue) Deprecated. |
java.lang.String |
getLocalAttributesCacheName() Deprecated. The name of the local cache that stores non-distributed session attributes (if allowed.) |
java.lang.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. |
java.lang.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. |
java.lang.String |
getOverflowCacheName() Deprecated. This method uses the ConfigurationImpl.getStringValue method to return the configured overflowCacheName value from the web.xml, System.property or defaultValue if not configured. |
int |
getOverflowThreshold() Deprecated. This method uses the ConfigurationImpl.getIntegerValue method to return the configured overflowThreshold value from the web.xml, System.property or defaultValue if not configured. |
java.lang.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. |
java.lang.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. |
java.lang.String |
getSessionAccessDebugLoggingFilter() Deprecated. Get the String containing the session attribute prefixes/names not to be logged when Session Access Debug Logging is enabled. |
java.lang.String |
getSessionCacheName() Deprecated. The name of the clustered cache that stores the sessions. |
java.lang.String |
getSessionExpiryFilterFactoryClassName() Deprecated. A class name of a SessionExpiryFilterFactory implementation. |
java.lang.String |
getSessionIdAffinityToken() Deprecated. Retrieve the session id affinity suffix token if one is defined. |
java.lang.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. |
java.lang.String |
getSessionIdCookieName() Deprecated. Determine the name of the cookie for holding the session ID. |
java.lang.String |
getSessionIdCookiePath() Deprecated. Determine the path of the cookie for holding the session ID. |
java.lang.String |
getSessionIdEncodingName() Deprecated. Determine the name of the URL parameter for session ID encoding and decoding. |
java.lang.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 java.lang.String |
getStringValue(XmlElement xml, java.lang.String param, java.lang.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 |
isEnableSessionAccessDebugLogging() Deprecated. Determines if the Session Access Debug Logging is enabled, i.e. |
boolean |
isEnableSuspectAttributes() Deprecated. Determine if suspect attributes need special treatment. |
boolean |
isLogInvalidationExceptions() Deprecated. Determine if Coherence*Web should log exceptions thrown by session attribute listeners during invalidation. |
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 the reaper reaper assumes that session data is stored only on nodes that are running the session reaper reaper thread. |
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. |
java.lang.String |
toString() Deprecated. |
Constructor Detail |
---|
public ConfigurationImpl()
Method Detail |
---|
public java.lang.String toString()
public int getServletContextVersionMajor()
public int getServletContextVersionMinor()
public java.lang.String getApplicationName()
public boolean isClusterOwned()
public boolean isServletContextClustered()
public boolean isSessionContextEnabled()
public int getAsyncExitDelayMillis()
public boolean isSessionIdCookieEnabled()
public java.lang.String getSessionIdCookieName()
public java.lang.String getSessionIdCookieDomain()
public java.lang.String getSessionIdCookiePath()
public int getSessionIdCookieMaxAgeSeconds()
public boolean isSessionIdCookieSecure()
public boolean isSessionIdEncodingEnabled()
public java.lang.String getSessionIdEncodingName()
public boolean isUseDefaultSessionIdDecoding()
public boolean isUseDefaultSessionIdEncoding()
public java.lang.String getSessionIdAffinityToken()
public boolean isLogInvalidationExceptions()
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 java.lang.String getManagementCacheName()
protected boolean isApplicationNameGenerated()
public boolean isConfigurationConsistencyRequired()
public int getDaemonMaxThreads()
public int getDaemonMinThreads()
public boolean isReapingParallel()
public java.lang.String getHttpSessionCollectionClassName()
public boolean isOwnershipSticky()
This is available only if an Enterprise Edition or Grid Edition license is available.
public java.lang.String getOwnershipServiceName()
public java.lang.String getSessionCacheName()
public java.lang.String getDeathCertCacheName()
public java.lang.String getDistControllerClassName()
public java.lang.String getScopeControllerClassName()
public java.lang.String getLocalSessionCacheName()
public java.lang.String getLocalAttributesCacheName()
public boolean isAllowLocalAttributes()
This feature is available only if the sticky session ownership option is on and is enforced if a distribution controller is specified.
public boolean isEnableSuspectAttributes()
public boolean isEnableAttributeListenerOptimization()
public int getMaxInactiveSeconds()
public int getSessionIdLength()
public java.lang.String getSessionIdGeneratorClassName()
public java.lang.String getCacheDelegatorClassName()
public boolean isSessionLockingEnforced()
isMemberLockingEnforced()
or isAppLockingEnforced()
or isMemberLockingEnforced()
return true, then so will this method.
If this is set to false, then concurrent access is permitted and the last update wins.
public boolean isMemberLockingEnforced()
public boolean isAppLockingEnforced()
Note that application-level locking requires that member-level session locking is enabled. In other words, if this method returns true, the value of isMemberLockingEnforced()
will also be true.
public boolean isThreadLockingEnforced()
Note that a single threaded session requires that both member-level and application-level session locking are enabled. In other words, if this method returns true, the value of isMemberLockingEnforced()
and isAppLockingEnforced()
will also be true.
public int getLockTimeout()
public java.lang.String getSessionExpiryFilterFactoryClassName()
public int getOverflowThreshold()
SplitSessionCollectionConfiguration
getOverflowThreshold
in interface SplitSessionCollectionConfiguration
public java.lang.String getOverflowCacheName()
SplitSessionCollectionConfiguration
getOverflowCacheName
in interface SplitSessionCollectionConfiguration
public boolean logThreadsHoldingLock()
This is available only if an Enterprise Edition or Grid Edition license is available.
public int getDaemonQueueSize()
public boolean isEnableSessionAccessDebugLogging()
public java.lang.String getSessionAccessDebugLoggingFilter()
protected static java.lang.String getStringValue(XmlElement xml, java.lang.String param, java.lang.String defaultValue)
public java.lang.String checkCompatible(com.tangosol.coherence.servlet.ValidatingConfiguration configuration)
configuration
- the new configuration.protected static boolean getBooleanValue(XmlElement xml, java.lang.String param, boolean defaultValue)
protected static int getIntValue(XmlElement xml, java.lang.String param, int defaultValue)
|
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 |