Class AbstractCoherenceBuilder

java.lang.Object
com.oracle.bedrock.junit.AbstractCoherenceBuilder
All Implemented Interfaces:
CoherenceBuilder

public abstract class AbstractCoherenceBuilder extends Object implements CoherenceBuilder
A base class for CoherenceBuilder implementations.
Since:
22.06
Author:
Jonathan Knight 2022.06.25
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.tangosol.net.Coherence
    build(com.oracle.bedrock.runtime.LocalPlatform platform, CoherenceCluster cluster, com.oracle.bedrock.OptionsByType optionsByType)
    Creates a Coherence instance with a single default Session.
    boolean
    equals(Object other)
     
    protected abstract com.tangosol.net.Coherence.Mode
    Return the mode the Coherence instance and default session will run in.
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods 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: CoherenceBuilder
      Creates a Coherence instance with a single default Session.
      Specified by:
      build in interface CoherenceBuilder
      Parameters:
      platform - the LocalPlatform on which the ConfigurableCacheFactory will be established
      cluster - the CoherenceCluster for which the session will be created
      optionsByType - the OptionsByTypes provided to all of the CoherenceClusterMembers when establishing the CoherenceCluster
      Returns:
      a Coherence instance
    • 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

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object