Uses of Enum Class
com.tangosol.net.Coherence.Mode
-
Uses of Coherence.Mode in com.tangosol.net
Modifier and TypeMethodDescriptionstatic Coherence.Mode
Coherence.Mode.fromClientName
(String sClient) Return theCoherence.Mode
for the given client name.Coherence.getMode()
Return theCoherence.Mode
that this instance is running as.SessionProvider.Context.getMode()
Returns the mode thatCoherence
is running in.SessionProvider.DefaultContext.getMode()
static Coherence.Mode
Returns the enum constant of this class with the specified name.static Coherence.Mode[]
Coherence.Mode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionSessionConfiguration.ConfigurableCacheFactorySessionConfig.getMode()
default Optional
<Coherence.Mode> SessionConfiguration.getMode()
Return an optionalCoherence.Mode
that the session should use to set thecoherence.client
property.WrapperSessionConfiguration.getMode()
Modifier and TypeMethodDescriptionstatic Coherence.Builder
Coherence.builder
(CoherenceConfiguration config, Coherence.Mode mode) Returns aCoherence.Builder
instance that can build aCoherence
instance using the specifiedCoherenceConfiguration
.static Coherence
Coherence.client
(Coherence.Mode mode) Return the defaultCoherence
client instance, creating it if it does not already exist.static Coherence.Builder
Coherence.clientBuilder
(CoherenceConfiguration config, Coherence.Mode mode) Returns aCoherence.Builder
instance that can build aCoherence
instance using the specifiedCoherenceConfiguration
.static Coherence
Coherence.create
(CoherenceConfiguration config, Coherence.Mode mode) Create a defaultCoherence
instance.Session.create
(SessionConfiguration configuration, Coherence.Mode mode) Possibly obtain aSession
based on the specified configuration.Session.create
(SessionConfiguration configuration, Coherence.Mode mode, Iterable<? extends EventInterceptor<?>> interceptors) Possibly obtain aSession
based on the specified configuration.SessionProvider.createSession
(SessionConfiguration configuration, Coherence.Mode mode) Create aSession
from the specified configuration.SessionProvider.createSession
(SessionConfiguration configuration, Coherence.Mode defaultMode, Iterable<? extends EventInterceptor<?>> interceptors) Create aSession
from the specified configuration.SessionProvider.createSession
(SessionConfiguration configuration, Coherence.Mode defaultMode, String sScopePrefix, Iterable<? extends EventInterceptor<?>> interceptors) Create aSession
from the specified configuration.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.SessionConfiguration.Builder.withMode
(Coherence.Mode mode) Set theCoherence.Mode
to use, which will override any mode used by theCoherence
instance.ModifierConstructorDescriptionCoherenceSession
(SessionConfiguration configuration, Coherence.Mode mode, Iterable<? extends EventInterceptor<?>> interceptors) Constructs aCoherenceSession
based on the specifiedSessionConfiguration
.DefaultContext
(Coherence.Mode mode, SessionProvider provider, Iterable<? extends EventInterceptor<?>> interceptors, String sScopePrefix) Create a new default context.