Enum StreamingServiceRegistryProperties.ReplicationModes

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ACTIVE_ACTIVE
      In this replication mode, all CAS nodes will try to sync copies of service definition files individually on each node.
      ACTIVE_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

      • ACTIVE_PASSIVE

        public static final StreamingServiceRegistryProperties.ReplicationModes ACTIVE_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 StreamingServiceRegistryProperties.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 (StreamingServiceRegistryProperties.ReplicationModes c : StreamingServiceRegistryProperties.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 StreamingServiceRegistryProperties.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