Interface CoherenceBuilder

All Known Implementing Classes:
AbstractCoherenceBuilder

public interface CoherenceBuilder
A builder that produces Coherence instances.
Since:
22.06
Author:
Jonathan Knight 2022.06.25
  • Method Summary

    Modifier and Type
    Method
    Description
    default com.tangosol.net.Coherence
    build(com.oracle.bedrock.runtime.LocalPlatform platform, CoherenceCluster cluster, com.oracle.bedrock.Option... options)
    Creates a Coherence instance with a single default Session.
    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.
    Returns a CoherenceBuilder that builds a Coherence instance that is a client.
    Returns a CoherenceBuilder that builds a Coherence instance that is a cluster member.
    Returns a CoherenceBuilder that builds a Coherence instance that is a client.
    withMode(com.tangosol.net.Coherence.Mode mode)
    Returns a CoherenceBuilder that builds a Coherence instance that is a cluster member.
  • Method Details

    • build

      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.
      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
    • build

      default com.tangosol.net.Coherence build(com.oracle.bedrock.runtime.LocalPlatform platform, CoherenceCluster cluster, com.oracle.bedrock.Option... options)
      Creates a Coherence instance with a single default Session.
      Parameters:
      platform - the LocalPlatform on which the ConfigurableCacheFactory will be established
      cluster - the CoherenceCluster for which the session will be created
      options - the OptionsByTypes provided to all of the CoherenceClusterMembers when establishing the CoherenceCluster
      Returns:
      a Coherence instance
    • clusterMember

      static CoherenceBuilder clusterMember()
      Returns a CoherenceBuilder that builds a Coherence instance that is a cluster member.
      Returns:
      a CoherenceBuilder that builds a Coherence instance that is a cluster member
    • client

      static CoherenceBuilder client()
      Returns a CoherenceBuilder that builds a Coherence instance that is a client.
      Returns:
      a CoherenceBuilder that builds a Coherence instance that is a client
    • fixedClient

      static CoherenceBuilder fixedClient()
      Returns a CoherenceBuilder that builds a Coherence instance that is a client.
      Returns:
      a CoherenceBuilder that builds a Coherence instance that is a client
    • withMode

      static CoherenceBuilder withMode(com.tangosol.net.Coherence.Mode mode)
      Returns a CoherenceBuilder that builds a Coherence instance that is a cluster member.
      Returns:
      a CoherenceBuilder that builds a Coherence instance that is a cluster member