com.typesafe.conductr.clientlib.akka
The connection handler contains the logic how to interact with the ConductR HTTP server
contains the protocol://host:port of the ConductR control server
The version of ConductR's REST API
Akka 2.3 Payload object
Akka 2.3 Response handler object
The uri representing the ConductR cluster member.
implicit connection context
true if the request has been succeeded. false if the request has been failed.
com.typesafe.conductr.clientlib.scala.AbstractControlClient.downMember()
An existing bundle identifier, a shortened version of it (min 7 characters) or a non-ambiguous name given to the bundle during loading.
The number of events to return. Defaults to 10.
implicit connection context
The result as a Future[BundleEventsResult]. BundleEventsResult is a sealed trait and can be either:
AbstractControlClient.getBundleEvents()
An existing bundle identifier, a shortened version of it (min 7 characters) or a non-ambiguous name given to the bundle during loading.
The number of events to return. Defaults to 10.
implicit connection context
The result as a Future[BundleLogsResult]. BundleEventsResult is a sealed trait and can be either:
AbstractControlClient.getBundleLogs()
implicit connection context
the bundles
AbstractControlClient.getBundlesInfo()
AbstractControlClient.getMemberInfo()
implicit connection context
the current ConductR cluster members.
AbstractControlClient.getMembersInfo()
The uri representing the ConductR cluster member.
implicit connection context
true if the request has been succeeded. false if the request has been failed.
com.typesafe.conductr.clientlib.scala.AbstractControlClient.joinMember()
The uri representing the ConductR cluster member.
implicit connection context
true if the request has been succeeded. false if the request has been failed.
com.typesafe.conductr.clientlib.scala.AbstractControlClient.leaveMember()
The file that is the bundle. The filename is important with its hex digest string and is required to be consistent with the SHA-256 hash of the bundle’s contents. Any inconsistency between the hashes will result in the load being rejected.
Optional: Similar in form to the bundle, only that is the file that describes the configuration. Again any inconsistency between the hex digest string in the filename, and the SHA-256 digest of the actual contents will result in the load being rejected.
implicit connection context
The result as a Future[BundleRequestResult]. BundleRequestResult is a sealed trait and can be either:
AbstractControlClient.loadBundle()
An existing bundle identifier, a shortened version of it (min 7 characters) or a non-ambiguous name given to the bundle during loading.
The number of instances of the bundle to start. Defaults to 1.
Optional: Identifier to other bundle. If specified, the current bundle will be run on the same host where the specified bundle is currently running.
implicit connection context
The result as a Future[BundleRequestResult]. BundleRequestResult is a sealed trait and can be either:
AbstractControlClient.runBundle()
An existing bundle identifier, a shortened version of it (min 7 characters) or a non-ambiguous name given to the bundle during loading.
The result as a Future[BundleRequestResult]. BundleRequestResult is a sealed trait and can be either:
AbstractControlClient.stopBundle()
Returns a stream of all bundle events.
Returns a stream of all bundle events. Each event is represented by a ServerSentEvent. Each ServerSentEvent is transferred in a Source to easily access a stream of events.
The requested events the stream should return. A Set.empty
is returning every event type.
implicit connection context
The stream as a Source wrapped inside a scala.concurrent.Future
Returns a stream of all member events.
Returns a stream of all member events. Each event is represented by a de.heikoseeberger.akkasse.ServerSentEvent. Each de.heikoseeberger.akkasse.ServerSentEvent is transferred in a Source to easily access a stream of events.
implicit connection context
The stream as a Source wrapped inside a scala.concurrent.Future
An existing bundle identifier, a shortened version of it (min 7 characters) or a non-ambiguous name given to the bundle during loading.
implicit connection context
The result as a Future[BundleUnloadResult]. BundleUnloadResult is a sealed trait and can be either:
AbstractControlClient.unloadBundle()
Akka 2.3 flavor of the AbstractControlClient. Uses Akka HTTP and Akka streams to interact with ConductR.