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 Details

    • ConfigurationImpl

      public ConfigurationImpl()
  • Method Details

    • toString

      public String toString()
      Returns a string representation of the object.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the object
    • getServletContextVersionMajor

      public int getServletContextVersionMajor()
    • getServletContextVersionMinor

      public int getServletContextVersionMinor()
    • getApplicationName

      public String getApplicationName()
    • getCacheConfigurationPath

      public String getCacheConfigurationPath()
    • isClusterOwned

      public boolean isClusterOwned()
    • isServletContextClustered

      public boolean isServletContextClustered()
    • isSessionContextEnabled

      public boolean isSessionContextEnabled()
    • getAsyncExitDelayMillis

      public int getAsyncExitDelayMillis()
    • isSessionIdCookieEnabled

      public boolean isSessionIdCookieEnabled()
    • getSessionIdCookieName

      public String getSessionIdCookieName()
    • getSessionIdCookieDomain

      public String getSessionIdCookieDomain()
    • getSessionIdCookiePath

      public String getSessionIdCookiePath()
    • getSessionIdCookieMaxAgeSeconds

      public int getSessionIdCookieMaxAgeSeconds()
    • isSessionIdCookieSecure

      public boolean isSessionIdCookieSecure()
    • isSessionIdCookieHttpOnly

      public boolean isSessionIdCookieHttpOnly()
    • isSessionIdEncodingEnabled

      public boolean isSessionIdEncodingEnabled()
    • getSessionIdEncodingName

      public String getSessionIdEncodingName()
    • isUseDefaultSessionIdDecoding

      public boolean isUseDefaultSessionIdDecoding()
    • isUseDefaultSessionIdEncoding

      public boolean isUseDefaultSessionIdEncoding()
    • getSessionIdAffinityToken

      public String 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

      public String getManagementCacheName()
    • isApplicationNameGenerated

      protected boolean isApplicationNameGenerated()
    • isConfigurationConsistencyRequired

      public boolean isConfigurationConsistencyRequired()
    • getDaemonMaxThreads

      public int getDaemonMaxThreads()
    • getDaemonMinThreads

      public int getDaemonMinThreads()
    • isReapingParallel

      public boolean isReapingParallel()
    • getHttpSessionCollectionClassName

      public String getHttpSessionCollectionClassName()
    • isOwnershipSticky

      public boolean isOwnershipSticky()
    • getOwnershipServiceName

      public String getOwnershipServiceName()
    • getSessionCacheName

      public String getSessionCacheName()
    • getDistControllerClassName

      public String getDistControllerClassName()
    • getScopeControllerClassName

      public String getScopeControllerClassName()
    • getLocalSessionCacheName

      public String getLocalSessionCacheName()
    • getLocalAttributesCacheName

      public String getLocalAttributesCacheName()
    • isAllowLocalAttributes

      public boolean isAllowLocalAttributes()
    • isEnableSuspectAttributes

      public boolean isEnableSuspectAttributes()
    • isEnableAttributeListenerOptimization

      public boolean isEnableAttributeListenerOptimization()
    • getMaxInactiveSeconds

      public int getMaxInactiveSeconds()
    • getSessionIdLength

      public int getSessionIdLength()
    • getSessionIdGeneratorClassName

      public String getSessionIdGeneratorClassName()
    • getCacheDelegatorClassName

      public String getCacheDelegatorClassName()
    • isSessionLockingEnforced

      public boolean isSessionLockingEnforced()
    • isMemberLockingEnforced

      public boolean isMemberLockingEnforced()
    • isAppLockingEnforced

      public boolean isAppLockingEnforced()
    • isThreadLockingEnforced

      public boolean isThreadLockingEnforced()
    • getLockTimeout

      public int getLockTimeout()
    • getSessionExpiryFilterFactoryClassName

      public String getSessionExpiryFilterFactoryClassName()
    • getOverflowThreshold

      public int getOverflowThreshold()
      Description copied from interface: SplitSessionCollectionConfiguration
      This 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:
      getOverflowThreshold in interface SplitSessionCollectionConfiguration
      Returns:
      overflowThreshold int value.
    • getOverflowCacheName

      public String getOverflowCacheName()
      Description copied from interface: SplitSessionCollectionConfiguration
      This 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:
      getOverflowCacheName in interface SplitSessionCollectionConfiguration
      Returns:
      the NamedCache
    • logThreadsHoldingLock

      public boolean logThreadsHoldingLock()
    • getDaemonQueueSize

      public int getDaemonQueueSize()
    • getLoggerLevel

      public Level getLoggerLevel()
    • isEnableSessionAccessDebugLogging

      public boolean isEnableSessionAccessDebugLogging()
    • getSessionAccessDebugLoggingFilter

      public String getSessionAccessDebugLoggingFilter()
    • getSessionReapingMechanism

      public String getSessionReapingMechanism()
    • getStringValue

      protected static String getStringValue(XmlElement xml, String param, String defaultValue)
    • getStringValue

      public static String getStringValue(String param)
    • checkCompatible

      public String checkCompatible(com.tangosol.coherence.servlet.ValidatingConfiguration configuration)
    • getBooleanValue

      protected static boolean getBooleanValue(XmlElement xml, String param, boolean defaultValue)
    • getIntValue

      protected static int getIntValue(XmlElement xml, String param, int defaultValue)