net.lag.kestrel.config

ZooKeeperBuilder

class ZooKeeperBuilder extends AnyRef

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

Instance Constructors

  1. new ZooKeeperBuilder()

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 acl: ZooKeeperACL

    A ZooKeeper ACL to apply to nodes created in the paths created by Kestrel.

  7. def apply(): ZooKeeperConfig

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. var clientInitializer: Option[(ZooKeeperConfig) ⇒ ZooKeeperClient]

    Overrides ZooKeeperClient intialization.

    Overrides ZooKeeperClient intialization. The default implementation uses the configuration options above in a straightforward way. If your environment requires obtaining server set configuration information (e.g., credentials) via another mechanism, you can provide a custom initializer method here. The default implemenation is ZooKeeperServerStatus.createClient.

    It is strongly recommended that you reference an object method provided in an external JAR rather than placing arbitary code in this configuration file.

  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. var credentials: Option[(String, String)]

    ZooKeeper client connection credentials (username, password).

    ZooKeeper client connection credentials (username, password). Defaults to unauthenticated connections.

  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. var host: String

    Hostname for an Apache ZooKeeper cluster to be used for tracking Kestrel server availability.

    Hostname for an Apache ZooKeeper cluster to be used for tracking Kestrel server availability. Required.

    Valid values include "zookeeper.domain.com" and "10.1.2.3".

  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  22. var pathPrefix: String

    Path prefix used to publish Kestrel server availability to the Apache ZooKeeper cluster.

    Path prefix used to publish Kestrel server availability to the Apache ZooKeeper cluster. Kestrel will append an additional level of hierarchy for the type of operations accepted (e.g., "/read" or "/write"). Required.

    Example: "/kestrel/production"

  23. var port: Int

    Port for Apache ZooKeeper cluster.

    Port for Apache ZooKeeper cluster. Defaults to 2181.

  24. var serverSetInitializer: Option[(ZooKeeperConfig, ZooKeeperClient, String) ⇒ ServerSet]

    Overrides ServerSet intialization.

    Overrides ServerSet intialization. The default implementation uses a ZooKeeperClient, the configured pathPrefix and the node type (the third argument to this function; always "read" or "write") to produce a ServerSet. The default implementation is ZooKeeperServerStatus.createServerSet.

    It is strongly recommended that you reference an object method provided in an external JAR rather than placing arbitary code in this configuration file.

  25. var sessionTimeout: Duration

    ZooKeeper session timeout.

    ZooKeeper session timeout. Defaults to 10 seconds.

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

    Definition Classes
    AnyRef
  27. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any