public interface SplitSessionCollectionConfiguration
Modifier and Type | Method and Description |
---|---|
String |
checkCompatible(com.tangosol.coherence.servlet.ValidatingConfiguration configuration)
Compares an existing configuration with a new one.
|
String |
getApplicationName()
Return the name of the web application.
|
String |
getCacheConfigurationPath()
Get the user configured cache-config.xml, Default is session-cache-config.
|
String |
getCacheDelegatorClassName()
The fully qualified class name of the CacheDelegator implementation to use.
|
String |
getDistControllerClassName()
The name of an implementation of the SessionDistributionController
interface to use.
|
String |
getLocalAttributesCacheName()
The name of the local cache that stores non-distributed session attributes
(if allowed.)
|
String |
getLocalSessionCacheName()
The name of the local cache that stores non-distributed sessions when the
SessionDistributionController option is implemented.
|
int |
getLockTimeout()
The maximum time (in seconds) that Coherence*Web will wait attempting to
aquire a lock on a session.
|
int |
getMaxInactiveSeconds()
Determine the default maximum interval, in seconds, that a session will
be kept alive without any activity.
|
String |
getOverflowCacheName()
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()
This method uses the ConfigurationImpl.getIntegerValue method
to return the configured overflowThreshold value from
the web.xml, System.property or defaultValue if
not configured.
|
String |
getOwnershipServiceName()
The name of the invocation service that will be used to manage sticky
session ownership.
|
String |
getScopeControllerClassName()
The name of an implementation of the AttributeScopeController interface
to use.
|
String |
getSessionAccessDebugLoggingFilter()
Get the String containing the session attribute prefixes/names not to be logged
when Session Access Debug Logging is enabled.
|
String |
getSessionCacheName()
The name of the clustered cache that stores the sessions.
|
String |
getSessionExpiryFilterFactoryClassName()
A class name of a SessionExpiryFilterFactory implementation.
|
String |
getSessionIdGeneratorClassName()
The fully qualified class name of the HttpSessionIdGenerator implementation
to use.
|
int |
getSessionIdLength()
Determine the length that session IDs will be created with.
|
boolean |
isAllowLocalAttributes()
Determine if non-serializable attributes should be preserved as local.
|
boolean |
isAppLockingEnforced()
Determine whether or not two or more applications should be prevented
from accessing the same session simultaneously.
|
boolean |
isEnableAttributeListenerOptimization()
Determine if attribute listeners should be executed if the same instance
of a session attribute is being replaced in the session.
|
boolean |
isEnableSessionAccessDebugLogging()
Determines if the Session Access Debug Logging is enabled, i.e.
|
boolean |
isEnableSuspectAttributes()
Determine if suspect attributes need special treatment.
|
boolean |
isLogInvalidationExceptions()
Determine if Coherence*Web should log exceptions thrown by session
attribute listeners during invalidation.
|
boolean |
isMemberLockingEnforced()
Determine whether or not two or more JVMs should be prevented from
accessing the same session simultaneously.
|
boolean |
isOwnershipSticky()
Determine if the sticky session ownership option is on.
|
boolean |
isReaperAssumeLocality()
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 |
isSessionLockingEnforced()
Determine whether concurrent access to a session is permitted.
|
boolean |
isStrict()
Determine if the Servlet specification is being followed strictly.
|
boolean |
isThreadLockingEnforced()
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 |
logThreadsHoldingLock()
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.
|
int getOverflowThreshold()
String getOverflowCacheName()
String getApplicationName()
boolean isLogInvalidationExceptions()
boolean isStrict()
boolean isOwnershipSticky()
This is available only if an Enterprise Edition or Grid Edition license is available.
boolean logThreadsHoldingLock()
This is available only if an Enterprise Edition or Grid Edition license is available.
String getOwnershipServiceName()
String getSessionCacheName()
String getDistControllerClassName()
String getScopeControllerClassName()
String getLocalSessionCacheName()
String getLocalAttributesCacheName()
boolean isAllowLocalAttributes()
This feature is available only if the sticky session ownership option is on and is enforced if a distribution controller is specified.
boolean isEnableSuspectAttributes()
boolean isEnableAttributeListenerOptimization()
int getMaxInactiveSeconds()
int getSessionIdLength()
String getSessionIdGeneratorClassName()
String getCacheDelegatorClassName()
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.
boolean isMemberLockingEnforced()
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.
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.
int getLockTimeout()
boolean isReaperAssumeLocality()
String getSessionExpiryFilterFactoryClassName()
boolean isEnableSessionAccessDebugLogging()
String getSessionAccessDebugLoggingFilter()
String getCacheConfigurationPath()
String checkCompatible(com.tangosol.coherence.servlet.ValidatingConfiguration configuration)
configuration
- the new configuration.