Enum GossipType

java.lang.Object
java.lang.Enum<GossipType>
org.jgroups.stack.GossipType
All Implemented Interfaces:
Serializable, Comparable<GossipType>, java.lang.constant.Constable

public enum GossipType extends Enum<GossipType>
Types of requests and responses exchanged between GossipRouter and RouterStubs
Since:
3.6.5
  • Enum Constant Details

    • REGISTER

      public static final GossipType REGISTER
    • UNREGISTER

      public static final GossipType UNREGISTER
    • GET_MBRS

      public static final GossipType GET_MBRS
    • GET_MBRS_RSP

      public static final GossipType GET_MBRS_RSP
    • MESSAGE

      public static final GossipType MESSAGE
    • HEARTBEAT

      public static final GossipType HEARTBEAT
    • SUSPECT

      public static final GossipType SUSPECT
  • Constructor Details

    • GossipType

      private GossipType()
  • Method Details

    • values

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

      public static GossipType 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