Uses of Interface
com.tangosol.net.SessionConfiguration
-
Packages that use SessionConfiguration Package Description com.oracle.coherence.cdi Coherence CDI provides support for CDI (Contexts and Dependency Injection) within Coherence cluster members.com.tangosol.net Contains basic cluster interfaces and factories. -
-
Uses of SessionConfiguration in com.oracle.coherence.cdi
Subinterfaces of SessionConfiguration in com.oracle.coherence.cdi Modifier and Type Interface Description interface
SessionInitializer
An interface that should be implemented by custom Coherence scoped session configurations in order to enable their discovery and automatic initialization at startup. -
Uses of SessionConfiguration in com.tangosol.net
Classes in com.tangosol.net that implement SessionConfiguration Modifier and Type Class Description static class
SessionConfiguration.ConfigurableCacheFactorySessionConfig
An immutableSessionConfiguration
to configure aSession
that wraps an underlyingConfigurableCacheFactory
.class
WrapperSessionConfiguration
ASessionConfiguration
that delegates to anotherSessionConfiguration
.Methods in com.tangosol.net that return SessionConfiguration Modifier and Type Method Description SessionConfiguration
SessionConfiguration.Builder. build()
Build theSessionConfiguration
.static SessionConfiguration
SessionConfiguration. create(String sConfigURI)
Create aSessionConfiguration
for the defaultSession
with the specified configuration file.static SessionConfiguration
SessionConfiguration. create(String sName, String sConfigURI)
Create aSessionConfiguration
for aSession
with a specific name and configuration file.static SessionConfiguration
SessionConfiguration. create(String sName, String sConfigURI, String sScopeName)
Create aSessionConfiguration
for aSession
with a specific name and configuration file.static SessionConfiguration
SessionConfiguration. defaultSession()
Create aSessionConfiguration
for the defaultSession
.Methods in com.tangosol.net that return types with arguments of type SessionConfiguration Modifier and Type Method Description Map<String,SessionConfiguration>
CoherenceConfiguration. getSessionConfigurations()
Return an immutableMap
of namedSessionConfiguration
instances that will be used by theCoherence
instance to createSessions
.Map<String,SessionConfiguration>
CoherenceConfiguration.SimpleConfig. getSessionConfigurations()
Methods in com.tangosol.net with parameters of type SessionConfiguration Modifier and Type Method Description Coherence
Coherence. addSession(SessionConfiguration config)
Coherence
Coherence. addSessionIfAbsent(SessionConfiguration config)
default int
SessionConfiguration. compareTo(SessionConfiguration other)
Order SessionConfiguration by priority, the lowest priority comes first.int
WrapperSessionConfiguration. compareTo(SessionConfiguration other)
static Optional<Session>
Session. create(SessionConfiguration configuration)
Possibly obtain aSession
based on the specified configuration.static Optional<Session>
Session. create(SessionConfiguration configuration, Coherence.Mode mode)
Possibly obtain aSession
based on the specified configuration.static Optional<Session>
Session. create(SessionConfiguration configuration, Coherence.Mode mode, Iterable<? extends EventInterceptor<?>> interceptors)
Possibly obtain aSession
based on the specified configuration.default SessionProvider.Context
CacheFactoryBuilder. createSession(SessionConfiguration configuration, SessionProvider.Context context)
default SessionProvider.Context
SessionProvider.Context. createSession(SessionConfiguration configuration)
Returns theSessionProvider.Context
from calling the defaultSessionProvider.Context.defaultProvider()
SessionProvider.createSession(SessionConfiguration, Coherence.Mode, Iterable)
method to create a session.default Optional<Session>
SessionProvider. createSession(SessionConfiguration configuration, Coherence.Mode mode)
Create aSession
from the specified configuration.default Optional<Session>
SessionProvider. createSession(SessionConfiguration configuration, Coherence.Mode defaultMode, Iterable<? extends EventInterceptor<?>> interceptors)
Create aSession
from the specified configuration.default Optional<Session>
SessionProvider. createSession(SessionConfiguration configuration, Coherence.Mode defaultMode, String sScopePrefix, Iterable<? extends EventInterceptor<?>> interceptors)
Create aSession
from the specified configuration.SessionProvider.Context
SessionProvider. createSession(SessionConfiguration configuration, SessionProvider.Context context)
Create aSession
from the specified configuration.static Session
Session. ensure(SessionConfiguration configuration)
Obtain aSession
based on the specified configuration or throw anIllegalStateException
if a session could not be obtained.static Session
Session. ensure(SessionConfiguration configuration, Coherence.Mode mode)
Obtain aSession
based on the specified configuration or throw anIllegalStateException
if a session could not be obtained.CoherenceConfiguration.Builder
CoherenceConfiguration.Builder. withSession(SessionConfiguration config)
Add aSessionConfiguration
to theCoherence
instance that will be used to create the correspondingSession
on start-up.CoherenceConfiguration.Builder
CoherenceConfiguration.Builder. withSessions(SessionConfiguration... configs)
Add theSessionConfiguration
instances to theCoherence
instance that will be used to create the correspondingSession
instances on start-up.Method parameters in com.tangosol.net with type arguments of type SessionConfiguration Modifier and Type Method Description Coherence
Coherence. addSessionIfAbsent(String sName, Supplier<SessionConfiguration> supplier)
CoherenceConfiguration.Builder
CoherenceConfiguration.Builder. withSessions(Iterable<? extends SessionConfiguration> configs)
Add theSessionConfiguration
instances to theCoherence
instance that will be used to create the correspondingSession
instances on start-up.Constructors in com.tangosol.net with parameters of type SessionConfiguration Constructor Description CoherenceSession(SessionConfiguration configuration, Coherence.Mode mode, Iterable<? extends EventInterceptor<?>> interceptors)
Constructs aCoherenceSession
based on the specifiedSessionConfiguration
.WrapperSessionConfiguration(SessionConfiguration delegate)
Create aWrapperSessionConfiguration
.
-