net.lag.kestrel.config

KestrelConfig

trait KestrelConfig extends ServerConfig[Kestrel]

KestrelConfig is the main point of configuration for Kestrel.

Linear Supertypes
ServerConfig[Kestrel], Config[(RuntimeEnvironment) ⇒ Kestrel], () ⇒ (RuntimeEnvironment) ⇒ Kestrel, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. KestrelConfig
  2. ServerConfig
  3. Config
  4. Function0
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

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. var admin: AdminServiceConfig

    Definition Classes
    ServerConfig
  7. var aliases: List[AliasBuilder]

  8. def apply(runtime: RuntimeEnvironment): Kestrel

    Definition Classes
    KestrelConfig → ServerConfig
  9. def apply(): (RuntimeEnvironment) ⇒ Kestrel

    Definition Classes
    ServerConfig → Function0
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. var clientTimeout: Option[Duration]

    An optional timeout for idle client connections.

    An optional timeout for idle client connections. A client that hasn't sent a request in this period of time will be disconnected.

  12. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def computed[A](f: ⇒ A): Required[A]

    Definition Classes
    Config
  14. var connectionBacklog: Option[Int]

    An optional size for the backlog of connecting clients.

    An optional size for the backlog of connecting clients. This setting is applied to each listening port.

  15. val default: QueueBuilder

    Default queue settings.

    Default queue settings. Starting with Kestrel 2.3.4, queue settings are inherited. See QueueBuilder for more information.

  16. var defaultStatus: Status

    In the absence of a readable status file, Kestrel will default to this status.

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

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

    Definition Classes
    AnyRef → Any
  19. var expirationTimerFrequency: Option[Duration]

    If you would like a timer to periodically sweep through queues and clean up expired items (when they are at the head of a queue), set the timer's frequency here.

    If you would like a timer to periodically sweep through queues and clean up expired items (when they are at the head of a queue), set the timer's frequency here. This is only useful for queues that are rarely (or never) polled, but may contain short-lived items.

  20. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. implicit def fromRequired[A](req: Required[A]): A

    Definition Classes
    Config
  22. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    AnyRef → Any
  24. var httpServer: Option[AdminHttpService]

    Attributes
    protected
    Definition Classes
    ServerConfig
  25. implicit def intoList[A](item: A): List[A]

    Definition Classes
    Config
  26. implicit def intoOption[A](item: A): Option[A]

    Definition Classes
    Config
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. var listenAddress: String

    Address to listen for client connections.

    Address to listen for client connections. By default, accept from any interface.

  29. var loggers: List[LoggerConfig]

    Definition Classes
    ServerConfig
  30. var maxOpenTransactions: Int

    Maximum # of transactions (incomplete GETs) each client can have open at one time.

  31. var memcacheListenPort: Option[Int]

    Port for accepting memcache protocol connections.

    Port for accepting memcache protocol connections. 22133 is the standard port.

  32. lazy val memoized: (RuntimeEnvironment) ⇒ Kestrel

    Definition Classes
    Config
  33. def missingValues: Seq[String]

    Definition Classes
    Config
  34. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  37. def optional[A](default: ⇒ A): Required[Option[A]]

    Definition Classes
    Config
  38. def optional[A]: Required[Option[A]]

    Definition Classes
    Config
  39. var queuePath: String

    Where queue journals should be stored.

    Where queue journals should be stored. Each queue will have its own files in this folder.

  40. var queues: List[QueueBuilder]

    Specific per-queue config.

    Specific per-queue config. Starting with Kestrel 2.3.4, queue settings are inherited. See QueueBuilder for more information.

  41. def reload(kestrel: Kestrel): Unit

  42. def required[A](default: ⇒ A): Required[A]

    Definition Classes
    Config
  43. def required[A]: Required[A]

    Definition Classes
    Config
  44. def specified[A](value: A): Specified[A]

    Definition Classes
    Config
  45. var statusChangeGracePeriod: Duration

    When changing to a more restricted status (e.

    When changing to a more restricted status (e.g., from Up to ReadOnly), Kestrel will wait until this duration expires before beginning to reject operations. Non-zero settings are useful when using ZooKeeper-based server status. It allows clients to gracefully cease operations without incurring errors.

  46. var statusFile: String

    Path to a file where Kestrel can store information about its current status.

    Path to a file where Kestrel can store information about its current status. When restarted, the server will come up with the same status that it had at shutdown, provided data in this file can be accessed.

    Kestrel will attempt to create the parent directories of this file if they do not already exist.

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

    Definition Classes
    AnyRef
  48. var textListenPort: Option[Int]

    Port for accepting text protocol connections.

  49. var thriftListenPort: Option[Int]

    Port for accepting thrift protocol connections.

  50. implicit def toSpecified[A](value: ⇒ A): Specified[A]

    Definition Classes
    Config
  51. implicit def toSpecifiedOption[A](value: ⇒ A): Specified[Some[A]]

    Definition Classes
    Config
  52. def toString(): String

    Definition Classes
    Function0 → AnyRef → Any
  53. def validate(): Unit

    Definition Classes
    Config
  54. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  57. var zookeeper: Option[ZooKeeperBuilder]

    Optional Apache Zookeeper configuration used to publish serverset-based availability of Kestrel instances.

    Optional Apache Zookeeper configuration used to publish serverset-based availability of Kestrel instances. By default no such information is published.

Inherited from ServerConfig[Kestrel]

Inherited from Config[(RuntimeEnvironment) ⇒ Kestrel]

Inherited from () ⇒ (RuntimeEnvironment) ⇒ Kestrel

Inherited from AnyRef

Inherited from Any