Enum Class Coherence.Mode

java.lang.Object
java.lang.Enum<Coherence.Mode>
com.tangosol.net.Coherence.Mode
All Implemented Interfaces:
Serializable, Comparable<Coherence.Mode>, Constable
Enclosing class:
Coherence

public static enum Coherence.Mode extends Enum<Coherence.Mode>
An enum representing the different modes that a Coherence instance can run in.
  • Enum Constant Details

    • Client

      public static final Coherence.Mode Client
      The Coherence instance should run as a non-cluster member Extend client. The proxy will be discovered using the name service.
    • ClientFixed

      public static final Coherence.Mode ClientFixed
      The Coherence instance should run as a non-cluster member Extend client, configured with a fixed address and port.
    • ClusterMember

      public static final Coherence.Mode ClusterMember
      The Coherence instance should run as a cluster member client.
    • Grpc

      public static final Coherence.Mode Grpc
      The Coherence instance should run as a non-cluster member gRPC client. The proxy will be discovered using the name service.
    • GrpcFixed

      public static final Coherence.Mode GrpcFixed
      The Coherence instance should run as a non-cluster member gRPC client, configured with a fixed address and port.
    • Gar

      public static final Coherence.Mode Gar
      The Coherence instance has been created from a gar.
  • Method Details

    • values

      public static Coherence.Mode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Coherence.Mode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getClient

      public String getClient()
      Returns the default coherence.client property.
      Returns:
      the default coherence.client property
    • fromClientName

      public static Coherence.Mode fromClientName(String sClient)
      Return the Coherence.Mode for the given client name.
      Parameters:
      sClient - the client name
      Returns:
      the Coherence.Mode for the given client name
      Throws:
      IllegalArgumentException - – if specified client name does not match any Coherence.Mode