Enum Class MissingPacketsPolicy

java.lang.Object
java.lang.Enum<MissingPacketsPolicy>
com.j_spaces.core.cluster.MissingPacketsPolicy
All Implemented Interfaces:
Serializable, Comparable<MissingPacketsPolicy>, java.lang.constant.Constable

public enum MissingPacketsPolicy extends Enum<MissingPacketsPolicy>
Dictates which action to take when there are missing incoming replication packets
Since:
7.1
Author:
eitany
  • Enum Constant Details

    • RECOVER

      public static final MissingPacketsPolicy RECOVER
      Cause a backspace to restart and do a full recovery
    • IGNORE

      public static final MissingPacketsPolicy IGNORE
      ignore the missing packets and continue
  • Method Details

    • values

      public static MissingPacketsPolicy[] 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 MissingPacketsPolicy 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