Package

org.squbs

cluster

Permalink

package cluster

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

Type Members

  1. implicit final class ByteConversions extends AnyVal

    Permalink
  2. case class DefaultSegmentationLogic(segmentsSize: Int) extends SegmentationLogic with Product with Serializable

    Permalink
  3. trait MembersInfoMXBean extends AnyRef

    Permalink
  4. case class PartitionInfo(name: String, zkPath: String, members: String) extends Product with Serializable

    Permalink
  5. trait PartitionsInfoMXBean extends AnyRef

    Permalink
  6. class RemoteGuardian extends Actor with ActorLogging

    Permalink

    The RemoteGuardian subscribe to QuarantinedEvent If it cannot reach a number of remote systems, probably itself runs into problems Then close the Zookeeper connection and terminate the entire system

  7. trait SegmentationLogic extends AnyRef

    Permalink
  8. case class ZkClientUpdated(zkClient: CuratorFramework) extends Product with Serializable

    Permalink

    event when zkclient updates

  9. 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

    Permalink
  10. class ZkClusterActor extends FSM[ZkClusterState, ZkClusterData] with Stash with LazyLogging

    Permalink

    The main Actor of ZkCluster

  11. case class ZkLeadership(address: Address) extends Product with Serializable

    Permalink

    response for leader identity query

  12. case class ZkListPartitions(address: Address) extends Product with Serializable

    Permalink

    request for VM's enrolled partitions

  13. case class ZkMembership(members: Set[Address]) extends Product with Serializable

    Permalink

    response for members identities query

  14. case class ZkPartition(partitionKey: ByteString, members: Set[Address], zkPath: String, notification: Option[Any]) extends Product with Serializable

    Permalink

    response for partition query

  15. case class ZkPartitionDiff(partitionKey: ByteString, onBoardMembers: Set[Address], dropOffMembers: Set[Address], props: Array[Byte] = Array.empty) extends Product with Serializable

    Permalink

    event of partition update

  16. case class ZkPartitionNotFound(partitionKey: ByteString) extends Product with Serializable

    Permalink

    response for partition query

  17. case class ZkPartitionRemoval(partitionKey: ByteString) extends Product with Serializable

    Permalink

    event of a partition removal

  18. case class ZkPartitions(partitionKeys: Seq[ByteString]) extends Product with Serializable

    Permalink

    response for list partitions query

  19. 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

    Permalink

    request for partition members

    request for partition members

    notification

    notify the sender along with query result

    expectedSize

    create the partition or resize the partition with the suggested size

    props

    properties of the partition, plain byte array

    members

    don't assign anything, used internally

  20. case class ZkRemovePartition(partitionKey: ByteString) extends Product with Serializable

    Permalink

    request to discontinue a partition

Value Members

  1. implicit def AddressSetToBytes(members: Set[Address]): Array[Byte]

    Permalink
  2. object JMX

    Permalink
  3. val UTF_8: Charset

    Permalink
  4. object ZkCluster extends ExtensionId[ZkCluster] with ExtensionIdProvider with LazyLogging with Serializable

    Permalink
  5. object ZkConnected extends Product with Serializable

    Permalink

    Lifecycle events corresponding to CONNECTED, RECONNECTED, SUSPENDED, LOST state in Curator Framework

  6. object ZkLost extends Product with Serializable

    Permalink
  7. object ZkMonitorClient extends Product with Serializable

    Permalink

    subscribe to zkclient updates

  8. object ZkMonitorPartition extends Product with Serializable

    Permalink

    subscribe to partition updates

  9. object ZkPartitionsManager

    Permalink
  10. object ZkQueryLeadership extends Product with Serializable

    Permalink

    request for leader identity of the cluster

  11. object ZkQueryMembership extends Product with Serializable

    Permalink

    request for members identities of the cluster

  12. object ZkReconnected extends Product with Serializable

    Permalink
  13. object ZkStopMonitorPartition extends Product with Serializable

    Permalink

    stop subscription to a partition's updates

  14. object ZkSuspended extends Product with Serializable

    Permalink
  15. implicit def addressToBytes(address: Address): Array[Byte]

    Permalink
  16. implicit def byteStringToUtf8(bs: ByteString): String

    Permalink
  17. def guarantee(path: String, data: Option[Array[Byte]], mode: CreateMode = CreateMode.EPHEMERAL)(implicit zkClient: CuratorFramework, logger: Logger): String

    Permalink
  18. implicit def intToBytes(integer: Int): Array[Byte]

    Permalink
  19. def keyToPath(name: String): String

    Permalink
  20. def pathToKey(name: String): String

    Permalink
  21. package rebalance

    Permalink
  22. def safelyDiscard(path: String, recursive: Boolean = true)(implicit zkClient: CuratorFramework): String

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped