Uses of Class
com.tangosol.net.Coherence.Mode
-
Packages that use Coherence.Mode Package Description com.tangosol.net Contains basic cluster interfaces and factories. -
-
Uses of Coherence.Mode in com.tangosol.net
Methods in com.tangosol.net that return Coherence.Mode Modifier and Type Method Description static Coherence.Mode
Coherence.Mode. fromClientName(String sClient)
Return theCoherence.Mode
for the given client name.Coherence.Mode
Coherence. getMode()
Return theCoherence.Mode
that this instance is running as.Coherence.Mode
SessionProvider.Context. getMode()
Returns the mode thatCoherence
is running in.Coherence.Mode
SessionProvider.DefaultContext. getMode()
static Coherence.Mode
Coherence.Mode. valueOf(String name)
Returns the enum constant of this type with the specified name.static Coherence.Mode[]
Coherence.Mode. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.tangosol.net that return types with arguments of type Coherence.Mode Modifier and Type Method Description Optional<Coherence.Mode>
SessionConfiguration.ConfigurableCacheFactorySessionConfig. getMode()
default Optional<Coherence.Mode>
SessionConfiguration. getMode()
Return an optionalCoherence.Mode
that the session should use to set thecoherence.client
property.Optional<Coherence.Mode>
WrapperSessionConfiguration. getMode()
Methods in com.tangosol.net with parameters of type Coherence.Mode Modifier and Type Method Description static 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.static Coherence
Coherence. create(CoherenceConfiguration config, Coherence.Mode mode, ClassLoader loader)
Create a defaultCoherence
instance.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 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.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
SessionConfiguration.Builder. withMode(Coherence.Mode mode)
Set theCoherence.Mode
to use, which will override any mode used by theCoherence
instance.Constructors in com.tangosol.net with parameters of type Coherence.Mode Constructor Description CoherenceSession(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.
-