net.lag.kestrel

ServerStatus

class ServerStatus extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ServerStatus
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ServerStatus(statusFile: String, timer: Timer, defaultStatus: Status = Quiescent, statusChangeGracePeriod: Duration = ...)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addEndpoints(mainEndpoint: String, endpoints: Map[String, InetSocketAddress]): Unit

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def blockReads: Boolean

  9. def blockWrites: Boolean

  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. val defaultStatus: Status

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def markQuiescent(): Unit

    Mark this host as stopped.

  19. def markReadOnly(): Unit

    Mark this host read-only.

  20. def markUp(): Unit

    Mark this host as up (available for reads & writes)

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def proposeStatusChange(oldStatus: Status, newStatus: Status): Boolean

    Invoked just before the status of the server changes.

    Invoked just before the status of the server changes.

    Attributes
    protected
  25. def setStatus(statusName: String): Unit

    Mark this host with an arbitrary status level name.

    Mark this host with an arbitrary status level name. Names are case insensitive.

    Note: cannot be used to mark this server as Down. Use Quiescent.

  26. def setStatus(newStatus: Status): Status

    Mark this host with an arbitrary status level.

    Mark this host with an arbitrary status level. Returns the new status of the server, which may be unchanged if a pending change is in progress.

    Note: cannot be used to mark this server as Down. Use Quiescent.

  27. def shutdown(): Unit

  28. def start(): Unit

  29. def status: Status

  30. val statusChangeGracePeriod: Duration

  31. def statusChanged(oldStatus: Status, newStatus: Status, immediate: Boolean): Unit

    Invoked after the status of the server has changed.

    Invoked after the status of the server has changed.

    Attributes
    protected
  32. val statusFile: String

  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. val timer: Timer

  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  37. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  38. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any