Package com.oracle.bedrock.junit
Class AbstractCoherenceBuilder
java.lang.Object
com.oracle.bedrock.junit.AbstractCoherenceBuilder
- All Implemented Interfaces:
CoherenceBuilder
A base class for
CoherenceBuilder implementations.- Since:
- 22.06
- Author:
- Jonathan Knight 2022.06.25
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.tangosol.net.Coherencebuild(com.oracle.bedrock.runtime.LocalPlatform platform, CoherenceCluster cluster, com.oracle.bedrock.OptionsByType optionsByType) Creates aCoherenceinstance with a single defaultSession.booleanprotected abstract com.tangosol.net.Coherence.ModegetMode()Return the mode the Coherence instance and default session will run in.inthashCode()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.oracle.bedrock.junit.CoherenceBuilder
build
-
Constructor Details
-
AbstractCoherenceBuilder
public AbstractCoherenceBuilder()
-
-
Method Details
-
build
public com.tangosol.net.Coherence build(com.oracle.bedrock.runtime.LocalPlatform platform, CoherenceCluster cluster, com.oracle.bedrock.OptionsByType optionsByType) Description copied from interface:CoherenceBuilderCreates aCoherenceinstance with a single defaultSession.- Specified by:
buildin interfaceCoherenceBuilder- Parameters:
platform- theLocalPlatformon which theConfigurableCacheFactorywill be establishedcluster- theCoherenceClusterfor which the session will be createdoptionsByType- theOptionsByTypes provided to all of theCoherenceClusterMembers when establishing theCoherenceCluster- Returns:
- a
Coherenceinstance
-
getMode
protected abstract com.tangosol.net.Coherence.Mode getMode()Return the mode the Coherence instance and default session will run in.- Returns:
- the mode the Coherence instance and default session will run in
-
equals
-
hashCode
public int hashCode()
-