Package com.tangosol.coherence.servlet
Class ConfigurationImpl
java.lang.Object
com.tangosol.coherence.servlet.ConfigurationImpl
- All Implemented Interfaces:
SplitSessionCollectionConfiguration,Serializable
public class ConfigurationImpl
extends Object
implements SplitSessionCollectionConfiguration, Serializable
Class implementing the
SessionHelperConfiguration
HttpSessionCollectionConfiguration and
SplitSessionCollectionConfigurationinterfaces.- Since:
- Coherence 3.6
- Author:
- yc 2009.11.13
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckCompatible(com.tangosol.coherence.servlet.ValidatingConfiguration configuration) intprotected static booleangetBooleanValue(XmlElement xml, String param, boolean defaultValue) intintintprotected static intgetIntValue(XmlElement xml, String param, int defaultValue) intintThis method uses the ConfigurationImpl.getStringValue method to return the configured overflowCacheName value from the web.xml, System.property or defaultValue if not configured.intThis method uses the ConfigurationImpl.getIntegerValue method to return the configured overflowThreshold value from the web.xml, System.property or defaultValue if not configured.intintintintintintintbooleanintprotected static StringgetStringValue(XmlElement xml, String param, String defaultValue) static StringgetStringValue(String param) booleanprotected booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisStrict()booleanbooleanbooleanbooleantoString()Returns a string representation of the object.
-
Constructor Details
-
ConfigurationImpl
public ConfigurationImpl()
-
-
Method Details
-
toString
Returns a string representation of the object. -
getServletContextVersionMajor
public int getServletContextVersionMajor() -
getServletContextVersionMinor
public int getServletContextVersionMinor() -
getApplicationName
-
getCacheConfigurationPath
-
isClusterOwned
public boolean isClusterOwned() -
isServletContextClustered
public boolean isServletContextClustered() -
isSessionContextEnabled
public boolean isSessionContextEnabled() -
getAsyncExitDelayMillis
public int getAsyncExitDelayMillis() -
isSessionIdCookieEnabled
public boolean isSessionIdCookieEnabled() -
getSessionIdCookieName
-
getSessionIdCookieDomain
-
getSessionIdCookiePath
-
getSessionIdCookieMaxAgeSeconds
public int getSessionIdCookieMaxAgeSeconds() -
isSessionIdCookieSecure
public boolean isSessionIdCookieSecure() -
isSessionIdCookieHttpOnly
public boolean isSessionIdCookieHttpOnly() -
isSessionIdEncodingEnabled
public boolean isSessionIdEncodingEnabled() -
getSessionIdEncodingName
-
isUseDefaultSessionIdDecoding
public boolean isUseDefaultSessionIdDecoding() -
isUseDefaultSessionIdEncoding
public boolean isUseDefaultSessionIdEncoding() -
getSessionIdAffinityToken
-
getSessionIdReplaceAffinityToken
public boolean getSessionIdReplaceAffinityToken() -
isLogInvalidationExceptions
public boolean isLogInvalidationExceptions() -
isStrict
public boolean isStrict() -
getReaperPriority
public int getReaperPriority() -
getReaperCycleSeconds
public int getReaperCycleSeconds() -
isReaperCheckCoordinated
public boolean isReaperCheckCoordinated() -
getReaperCheckCollectionModulo
public int getReaperCheckCollectionModulo() -
isReaperAssumeLocality
public boolean isReaperAssumeLocality() -
getShutdownDelaySeconds
public int getShutdownDelaySeconds() -
isSessionLazyAccess
public boolean isSessionLazyAccess() -
getManagementCacheName
-
isApplicationNameGenerated
protected boolean isApplicationNameGenerated() -
isConfigurationConsistencyRequired
public boolean isConfigurationConsistencyRequired() -
getDaemonMaxThreads
public int getDaemonMaxThreads() -
getDaemonMinThreads
public int getDaemonMinThreads() -
isReapingParallel
public boolean isReapingParallel() -
getHttpSessionCollectionClassName
-
isOwnershipSticky
public boolean isOwnershipSticky() -
getOwnershipServiceName
-
getSessionCacheName
-
getDistControllerClassName
-
getScopeControllerClassName
-
getLocalSessionCacheName
-
getLocalAttributesCacheName
-
isAllowLocalAttributes
public boolean isAllowLocalAttributes() -
isEnableSuspectAttributes
public boolean isEnableSuspectAttributes() -
isEnableAttributeListenerOptimization
public boolean isEnableAttributeListenerOptimization() -
getMaxInactiveSeconds
public int getMaxInactiveSeconds() -
getSessionIdLength
public int getSessionIdLength() -
getSessionIdGeneratorClassName
-
getCacheDelegatorClassName
-
isSessionLockingEnforced
public boolean isSessionLockingEnforced() -
isMemberLockingEnforced
public boolean isMemberLockingEnforced() -
isAppLockingEnforced
public boolean isAppLockingEnforced() -
isThreadLockingEnforced
public boolean isThreadLockingEnforced() -
getLockTimeout
public int getLockTimeout() -
getSessionExpiryFilterFactoryClassName
-
getOverflowThreshold
public int getOverflowThreshold()Description copied from interface:SplitSessionCollectionConfigurationThis method uses the ConfigurationImpl.getIntegerValue method to return the configured overflowThreshold value from the web.xml, System.property or defaultValue if not configured.- Specified by:
getOverflowThresholdin interfaceSplitSessionCollectionConfiguration- Returns:
- overflowThreshold int value.
-
getOverflowCacheName
Description copied from interface:SplitSessionCollectionConfigurationThis method uses the ConfigurationImpl.getStringValue method to return the configured overflowCacheName value from the web.xml, System.property or defaultValue if not configured.- Specified by:
getOverflowCacheNamein interfaceSplitSessionCollectionConfiguration- Returns:
- the NamedCache
-
logThreadsHoldingLock
public boolean logThreadsHoldingLock() -
getDaemonQueueSize
public int getDaemonQueueSize() -
getLoggerLevel
-
isEnableSessionAccessDebugLogging
public boolean isEnableSessionAccessDebugLogging() -
getSessionAccessDebugLoggingFilter
-
getSessionReapingMechanism
-
getStringValue
-
getStringValue
-
checkCompatible
-
getBooleanValue
-
getIntValue
-