Enum StreamingServicesCoreProperties.ReplicationModes

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ACTIVE
      In this replication mode, all CAS nodes will try to sync copies of service definition files individually on each node.
      PASSIVE
      In this replication mode, one CAS service is designated to be the master that contains all service definition files locally, and will stream changes to other CAS passive nodes.
    • Enum Constant Detail

      • PASSIVE

        public static final StreamingServicesCoreProperties.ReplicationModes PASSIVE
        In this replication mode, one CAS service is designated to be the master that contains all service definition files locally, and will stream changes to other CAS passive nodes. Passive CAS nodes only access the replication cache to retrieve services, and will not individually keep copies of the service definition files on disk.
    • Method Detail

      • values

        public static StreamingServicesCoreProperties.ReplicationModes[] 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 (StreamingServicesCoreProperties.ReplicationModes c : StreamingServicesCoreProperties.ReplicationModes.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StreamingServicesCoreProperties.ReplicationModes valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null