Package com.tangosol.net
Class WrapperSessionConfiguration
java.lang.Object
com.tangosol.net.WrapperSessionConfiguration
- All Implemented Interfaces:
- SessionConfiguration,- Comparable<SessionConfiguration>
A 
SessionConfiguration that delegates to another SessionConfiguration.- Since:
- 22.06.2
- Author:
- Jonathan Knight 2022.08.25
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.tangosol.net.SessionConfigurationSessionConfiguration.Builder, SessionConfiguration.ConfigurableCacheFactorySessionConfig
- 
Field SummaryFields inherited from interface com.tangosol.net.SessionConfigurationDEFAULT_PRIORITY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintcompareTo(SessionConfiguration other) Order SessionConfiguration by priority, the lowest priority comes first.Return the optionalClassLoaderto use for the session.Return the optional configuration file URI for a session that wraps aConfigurableCacheFactory.Return the interceptors to add to the session.getMode()Return an optionalCoherence.Modethat the session should use to set thecoherence.clientproperty.getName()Return the name of theSession.Returns an optionalParameterResolverto use to resolve configuration parameters when creating the session.intReturns the priority for this configuration.Return the scope name of theSession.booleanReturntrueif this configuration is enabled and should be used to configure a session.toString()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.tangosol.net.SessionConfigurationsessionProvider
- 
Constructor Details- 
WrapperSessionConfigurationCreate aWrapperSessionConfiguration.- Parameters:
- delegate- the- SessionConfigurationto delegate to
- Throws:
- NullPointerException- if the delegate is- null
 
 
- 
- 
Method Details- 
getNameDescription copied from interface:SessionConfigurationReturn the name of theSession.If not specifically set the Coherence.DEFAULT_NAMEwill be used.A session name must be unique. - Specified by:
- getNamein interface- SessionConfiguration
- Returns:
- the name of the Session
 
- 
getScopeNameDescription copied from interface:SessionConfigurationReturn the scope name of theSession.If not specifically set, the name will default to the SessionConfiguration.getName()value. If theSessionConfiguration.getName()isCoherence.DEFAULT_NAMEno scope will be used.- Specified by:
- getScopeNamein interface- SessionConfiguration
- Returns:
- the scope name of the Session
 
- 
getInterceptorsDescription copied from interface:SessionConfigurationReturn the interceptors to add to the session.- Specified by:
- getInterceptorsin interface- SessionConfiguration
- Returns:
- the interceptors to add to the session
 
- 
isEnabledpublic boolean isEnabled()Description copied from interface:SessionConfigurationReturntrueif this configuration is enabled and should be used to configure a session.- Specified by:
- isEnabledin interface- SessionConfiguration
- Returns:
- trueif this configuration is enabled
 
- 
getConfigUriDescription copied from interface:SessionConfigurationReturn the optional configuration file URI for a session that wraps aConfigurableCacheFactory.- Specified by:
- getConfigUriin interface- SessionConfiguration
- Returns:
- the optional configuration file URI for a session that
         wraps a ConfigurableCacheFactory
 
- 
getClassLoaderDescription copied from interface:SessionConfigurationReturn the optionalClassLoaderto use for the session.- Specified by:
- getClassLoaderin interface- SessionConfiguration
- Returns:
- the optional ClassLoaderto use for the session
 
- 
getPrioritypublic int getPriority()Description copied from interface:SessionConfigurationReturns the priority for this configuration.Sessions will be created in priority order, the highest priority first. The default priority is zero (see SessionConfiguration.DEFAULT_PRIORITY).- Specified by:
- getPriorityin interface- SessionConfiguration
- Returns:
- the priority for this configuration
 
- 
compareToDescription copied from interface:SessionConfigurationOrder SessionConfiguration by priority, the lowest priority comes first.- Specified by:
- compareToin interface- Comparable<SessionConfiguration>
- Specified by:
- compareToin interface- SessionConfiguration
- Parameters:
- other- the configuration to compare to
- Returns:
- compare this configuration with the specified configuration ordering by priority
 
- 
getParameterResolverDescription copied from interface:SessionConfigurationReturns an optionalParameterResolverto use to resolve configuration parameters when creating the session.- Specified by:
- getParameterResolverin interface- SessionConfiguration
- Returns:
- an optional ParameterResolverto use to resolve configuration parameters
 
- 
getModeDescription copied from interface:SessionConfigurationReturn an optionalCoherence.Modethat the session should use to set thecoherence.clientproperty.- Specified by:
- getModein interface- SessionConfiguration
- Returns:
- an optional Coherence.Modethat the session should use to set thecoherence.clientproperty
 
- 
toString
 
-