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 applicationContextassociated to thisCoherenceinstance.Return the name of the default session.Return an immutableIterableofinterceptorsthat will be added to all sessions created by theCoherenceinstance.getName()Return the name to use for theCoherenceinstance.Return an immutableMapof namedSessionConfigurationinstances that will be used by theCoherenceinstance to createSessions. 
- 
Method Details
- 
getName
Description copied from interface:CoherenceConfigurationReturn the name to use for theCoherenceinstance.- Specified by:
 getNamein interfaceCoherenceConfiguration- Returns:
 - the name to use for the 
Coherenceinstance 
 - 
getSessionConfigurations
Description copied from interface:CoherenceConfigurationReturn an immutableMapof namedSessionConfigurationinstances that will be used by theCoherenceinstance to createSessions.- Specified by:
 getSessionConfigurationsin interfaceCoherenceConfiguration- Returns:
 - an immutable 
Mapof namedSessionConfigurationinstances 
 - 
getInterceptors
Description copied from interface:CoherenceConfigurationReturn an immutableIterableofinterceptorsthat will be added to all sessions created by theCoherenceinstance.- Specified by:
 getInterceptorsin interfaceCoherenceConfiguration- Returns:
 - an immutable 
Iterableofinterceptors 
 - 
getApplicationContext
Description copied from interface:CoherenceConfigurationReturn the optional applicationContextassociated to thisCoherenceinstance.- Specified by:
 getApplicationContextin interfaceCoherenceConfiguration- Returns:
 - the optional application 
Contextassociated to thisCoherenceinstance 
 - 
getDefaultSessionName
Description copied from interface:CoherenceConfigurationReturn the name of the default session.- Specified by:
 getDefaultSessionNamein interfaceCoherenceConfiguration- Returns:
 - the name of the default session
 
 
 -