Enum FederatedConnectionEvent.Type

    • Enum Constant Detail

      • CONNECTING

        public static final FederatedConnectionEvent.Type CONNECTING
        Dispatched when a connection is about to be initiated to a participant.
      • BACKLOG_EXCESSIVE

        public static final FederatedConnectionEvent.Type BACKLOG_EXCESSIVE
        Dispatched when a participant is backlogged; if the participant is remote it indicates the remote participant has more work than it can handle; if the participant is local it indicates this participant has more work than it can handle.
      • BACKLOG_NORMAL

        public static final FederatedConnectionEvent.Type BACKLOG_NORMAL
        Dispatched when a participant was previously backlogged but is no longer so.
      • ERROR

        public static final FederatedConnectionEvent.Type ERROR
        Dispatched when replicating data to a participant encountered errors while applying the changes on the remote participant or due to exhausting connection retry attempts to the participant.
    • Method Detail

      • values

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

        public static FederatedConnectionEvent.Type 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