com.websudos.phantom.zookeeper

ZookeeperManager

trait ZookeeperManager extends CassandraManager

Linear Supertypes
CassandraManager, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ZookeeperManager
  2. CassandraManager
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def embeddedPort: Int

    Definition Classes
    CassandraManager
  2. abstract def initIfNotInited(keySpace: String): Unit

    Definition Classes
    CassandraManager
  3. abstract def livePort: Int

    Definition Classes
    CassandraManager
  4. abstract val logger: Logger

  5. abstract val store: ClusterStore

    Attributes
    protected[this]
  6. implicit abstract val timeout: Duration

Concrete 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def cluster: Cluster

    Definition Classes
    ZookeeperManagerCassandraManager
  9. val defaultAddress: InetSocketAddress

    Attributes
    protected[this]
  10. val envString: String

    Attributes
    protected[com.websudos.phantom.zookeeper]
  11. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  17. lazy val isLocalZooKeeperRunning: Boolean

    Interestingly enough binding to a port with a simple java.

    Interestingly enough binding to a port with a simple java.net.Socket or java.net.ServerSocket to check if a local ZooKeeper exists is not enough in this day and age. We take a slightly different approach, by performing a single check when the default address is initialised. We spawn an actual ZooKeeper Client using the finagle-zookeeper integration and attempt to connect. If the initial ping is successful, we conclude a ZooKeeper is found. Otherwise, we conclude it doesn't exist.

    At present times the Phantom connectors are not capable of monitoring for state change system wide, e.g a move from a local ZooKeeper to an embedded and so on, therefore this check can be done a single time, as any major state change in the system with regards to ZooKeeper going down would not affect existing Cassandra connections and any failure in a Cassandra node is handled by the Datastax driver.

    Attributes
    protected[this]
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. def session: Session

    Definition Classes
    ZookeeperManagerCassandraManager
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CassandraManager

Inherited from AnyRef

Inherited from Any

Ungrouped