Package com.tangosol.net
Class SessionConfiguration.ConfigurableCacheFactorySessionConfig
java.lang.Object
com.tangosol.net.SessionConfiguration.ConfigurableCacheFactorySessionConfig
- All Implemented Interfaces:
SessionConfiguration
,Comparable<SessionConfiguration>
- Enclosing interface:
SessionConfiguration
public static class SessionConfiguration.ConfigurableCacheFactorySessionConfig
extends Object
implements SessionConfiguration
An immutable
SessionConfiguration
to configure a Session
that
wraps an underlying ConfigurableCacheFactory
.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tangosol.net.SessionConfiguration
SessionConfiguration.Builder, SessionConfiguration.ConfigurableCacheFactorySessionConfig
-
Field Summary
Fields inherited from interface com.tangosol.net.SessionConfiguration
DEFAULT_PRIORITY
-
Method Summary
Modifier and TypeMethodDescriptionReturn the optionalClassLoader
to 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.Mode
that the session should use to set thecoherence.client
property.getName()
Return the name of theSession
.Returns an optionalParameterResolver
to use to resolve configuration parameters when creating the session.int
Returns the priority for this configuration.Return the scope name of theSession
.Return theSessionProvider
to use to create a session.toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.tangosol.net.SessionConfiguration
compareTo, isEnabled
-
Method Details
-
getName
Description copied from interface:SessionConfiguration
Return the name of theSession
.If not specifically set the
Coherence.DEFAULT_NAME
will be used.A session name must be unique.
- Specified by:
getName
in interfaceSessionConfiguration
- Returns:
- the name of the
Session
-
getScopeName
Description copied from interface:SessionConfiguration
Return the scope name of theSession
.If not specifically set, the name will default to the
SessionConfiguration.getName()
value. If theSessionConfiguration.getName()
isCoherence.DEFAULT_NAME
no scope will be used.- Specified by:
getScopeName
in interfaceSessionConfiguration
- Returns:
- the scope name of the
Session
-
getInterceptors
Description copied from interface:SessionConfiguration
Return the interceptors to add to the session.- Specified by:
getInterceptors
in interfaceSessionConfiguration
- Returns:
- the interceptors to add to the session
-
getPriority
public int getPriority()Description copied from interface:SessionConfiguration
Returns 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:
getPriority
in interfaceSessionConfiguration
- Returns:
- the priority for this configuration
-
getParameterResolver
Description copied from interface:SessionConfiguration
Returns an optionalParameterResolver
to use to resolve configuration parameters when creating the session.- Specified by:
getParameterResolver
in interfaceSessionConfiguration
- Returns:
- an optional
ParameterResolver
to use to resolve configuration parameters
-
getConfigUri
Description copied from interface:SessionConfiguration
Return the optional configuration file URI for a session that wraps aConfigurableCacheFactory
.- Specified by:
getConfigUri
in interfaceSessionConfiguration
- Returns:
- the optional configuration file URI for a session that
wraps a
ConfigurableCacheFactory
-
getClassLoader
Description copied from interface:SessionConfiguration
Return the optionalClassLoader
to use for the session.- Specified by:
getClassLoader
in interfaceSessionConfiguration
- Returns:
- the optional
ClassLoader
to use for the session
-
getMode
Description copied from interface:SessionConfiguration
Return an optionalCoherence.Mode
that the session should use to set thecoherence.client
property.- Specified by:
getMode
in interfaceSessionConfiguration
- Returns:
- an optional
Coherence.Mode
that the session should use to set thecoherence.client
property
-
sessionProvider
Description copied from interface:SessionConfiguration
Return theSessionProvider
to use to create a session.- Specified by:
sessionProvider
in interfaceSessionConfiguration
- Returns:
- the
SessionProvider
to use to create a session
-
toString
-