Package com.tangosol.net
Class CoherenceConfiguration.SimpleConfig
java.lang.Object
com.tangosol.net.CoherenceConfiguration.SimpleConfig
- All Implemented Interfaces:
CoherenceConfiguration
- Enclosing interface:
CoherenceConfiguration
public static class CoherenceConfiguration.SimpleConfig
extends Object
implements CoherenceConfiguration
A simple immutable implementation of
CoherenceConfiguration
.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tangosol.net.CoherenceConfiguration
CoherenceConfiguration.Builder, CoherenceConfiguration.SimpleConfig
-
Method Summary
Modifier and TypeMethodDescriptionOptional
<com.tangosol.application.Context> Return the optional applicationContext
associated to thisCoherence
instance.Return an immutableIterable
ofinterceptors
that will be added to all sessions created by theCoherence
instance.getName()
Return the name to use for theCoherence
instance.Return an immutableMap
of namedSessionConfiguration
instances that will be used by theCoherence
instance to createSessions
.
-
Method Details
-
getName
Description copied from interface:CoherenceConfiguration
Return the name to use for theCoherence
instance.- Specified by:
getName
in interfaceCoherenceConfiguration
- Returns:
- the name to use for the
Coherence
instance
-
getSessionConfigurations
Description copied from interface:CoherenceConfiguration
Return an immutableMap
of namedSessionConfiguration
instances that will be used by theCoherence
instance to createSessions
.- Specified by:
getSessionConfigurations
in interfaceCoherenceConfiguration
- Returns:
- an immutable
Map
of namedSessionConfiguration
instances
-
getInterceptors
Description copied from interface:CoherenceConfiguration
Return an immutableIterable
ofinterceptors
that will be added to all sessions created by theCoherence
instance.- Specified by:
getInterceptors
in interfaceCoherenceConfiguration
- Returns:
- an immutable
Iterable
ofinterceptors
-
getApplicationContext
Description copied from interface:CoherenceConfiguration
Return the optional applicationContext
associated to thisCoherence
instance.- Specified by:
getApplicationContext
in interfaceCoherenceConfiguration
- Returns:
- the optional application
Context
associated to thisCoherence
instance
-