package
cluster
Type Members
-
implicit final
class
ByteConversions extends AnyVal
-
-
-
case class
PartitionInfo(name: String, zkPath: String, members: String) extends Product with Serializable
-
-
class
RemoteGuardian extends Actor with ActorLogging
-
-
case class
ZkClientUpdated(zkClient: CuratorFramework) extends Product with Serializable
-
case class
ZkCluster(zkAddress: Address, zkConnectionString: String, zkNamespace: String, segmentationLogic: SegmentationLogic, retryPolicy: RetryPolicy = ..., rebalanceLogic: RebalanceLogic = ...)(implicit system: ActorSystem) extends Extension with LazyLogging with Product with Serializable
-
class
ZkClusterActor extends FSM[ZkClusterState, ZkClusterData] with Stash with LazyLogging
-
case class
ZkLeadership(address: Address) extends Product with Serializable
-
case class
ZkListPartitions(address: Address) extends Product with Serializable
-
case class
ZkMembership(members: Set[Address]) extends Product with Serializable
-
case class
ZkPartition(partitionKey: ByteString, members: Set[Address], zkPath: String, notification: Option[Any]) extends Product with Serializable
-
case class
ZkPartitionDiff(partitionKey: ByteString, onBoardMembers: Set[Address], dropOffMembers: Set[Address], props: Array[Byte] = Array.empty) extends Product with Serializable
-
case class
ZkPartitionNotFound(partitionKey: ByteString) extends Product with Serializable
-
case class
ZkPartitionRemoval(partitionKey: ByteString) extends Product with Serializable
-
case class
ZkPartitions(partitionKeys: Seq[ByteString]) extends Product with Serializable
-
case class
ZkQueryPartition(partitionKey: ByteString, notification: Option[Any] = None, expectedSize: Option[Int] = None, props: Array[Byte] = Array[Byte](), members: Set[Address] = Set.empty) extends Product with Serializable
-
case class
ZkRemovePartition(partitionKey: ByteString) extends Product with Serializable
Value Members
-
implicit
def
AddressSetToBytes(members: Set[Address]): Array[Byte]
-
object
JMX
-
val
UTF_8: Charset
-
object
ZkCluster extends ExtensionId[ZkCluster] with ExtensionIdProvider with LazyLogging with Serializable
-
object
ZkConnected extends Product with Serializable
-
object
ZkLost extends Product with Serializable
-
object
ZkMonitorClient extends Product with Serializable
-
object
ZkMonitorPartition extends Product with Serializable
-
-
object
ZkQueryLeadership extends Product with Serializable
-
object
ZkQueryMembership extends Product with Serializable
-
object
ZkReconnected extends Product with Serializable
-
-
object
ZkSuspended extends Product with Serializable
-
implicit
def
addressToBytes(address: Address): Array[Byte]
-
implicit
def
byteStringToUtf8(bs: ByteString): String
-
def
guarantee(path: String, data: Option[Array[Byte]], mode: CreateMode = CreateMode.EPHEMERAL)(implicit zkClient: CuratorFramework, logger: Logger): String
-
implicit
def
intToBytes(integer: Int): Array[Byte]
-
def
keyToPath(name: String): String
-
def
pathToKey(name: String): String
-
-
def
safelyDiscard(path: String, recursive: Boolean = true)(implicit zkClient: CuratorFramework): String
Inherited from AnyRef
Inherited from Any