class CheckOptions extends AnyRef

Options used to register checks in Consul.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CheckOptions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CheckOptions(_asJava: ext.consul.CheckOptions)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asJava: ext.consul.CheckOptions
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def getDeregisterAfter: String
  12. def getHttp: String
  13. def getId: String
  14. def getInterval: String
  15. def getName: String
  16. def getNotes: String
  17. def getScript: String
  18. def getServiceId: String
  19. def getStatus: CheckStatus
  20. def getTcp: String
  21. def getTtl: String
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def setDeregisterAfter(value: String): CheckOptions

    Set deregister timeout.

    Set deregister timeout. This is optional field, which is a timeout in the same time format as Interval and TTL. If a check is associated with a service and has the critical state for more than this configured value, then its associated service (and all of its associated checks) will automatically be deregistered. The minimum timeout is 1 minute, and the process that reaps critical services runs every 30 seconds, so it may take slightly longer than the configured timeout to trigger the deregistration. This should generally be configured with a timeout that's much, much longer than any expected recoverable outage for the given service.

  28. def setHttp(value: String): CheckOptions

    Set HTTP address to check.

    Set HTTP address to check. Also you should set checking interval

  29. def setId(value: String): CheckOptions

    Set check ID

  30. def setInterval(value: String): CheckOptions

    Set checking interval

  31. def setName(value: String): CheckOptions

    Set check name.

    Set check name. This is mandatory field

  32. def setNotes(value: String): CheckOptions

    Set check notes

  33. def setScript(value: String): CheckOptions

    Set path to checking script.

    Set path to checking script. Also you should set checking interval

  34. def setServiceId(value: String): CheckOptions

    Set the service ID to associate the registered check with an existing service provided by the agent.

  35. def setStatus(value: CheckStatus): CheckOptions

    Set the check status to specify the initial state of the health check.

  36. def setTcp(value: String): CheckOptions

    Set TCP address to check.

    Set TCP address to check. Also you should set checking interval

  37. def setTtl(value: String): CheckOptions

    Set Time to Live of check.

  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped