Enum Class GossipType

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

public enum GossipType extends Enum<GossipType>
Types of requests and responses exchanged between GossipRouter and RouterStubs
Since:
3.6.5
Author:
Bela Ban
  • 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
    • GET_MBRS_RSP_LAST

      public static final GossipType GET_MBRS_RSP_LAST
  • Method Details

    • values

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

      public static GossipType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null