Enum Class SessionLimitPolicy

java.lang.Object
java.lang.Enum<SessionLimitPolicy>
io.hyperfoil.api.config.SessionLimitPolicy
All Implemented Interfaces:
Serializable, Comparable<SessionLimitPolicy>, Constable

public enum SessionLimitPolicy extends Enum<SessionLimitPolicy>
  • Enum Constant Details

    • FAIL

      public static final SessionLimitPolicy FAIL
      Cancel all sessions that did not start yet if the session limit is reached.
    • CONTINUE

      public static final SessionLimitPolicy CONTINUE
      Continue even if we've reached maximum sessions.
  • Method Details

    • values

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