Enum Coherence.Mode

    • Enum Constant Detail

      • 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.
    • Method Detail

      • values

        public static Coherence.Mode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Coherence.Mode c : Coherence.Mode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Coherence.Mode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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
      • isClusterMember

        public boolean isClusterMember()
        Return true if this mode is a cluster member.
        Returns:
        true if this mode is a cluster member