Package

com.typesafe.conductr.clientlib.scala

models

Permalink

package models

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. models
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Bundle(bundleId: BundleId, bundleDigest: Digest, configurationDigest: Option[Digest], attributes: BundleAttributes, bundleConfig: Option[BundleConfig], bundleScale: Option[BundleScale], bundleExecutions: Iterable[BundleExecution], bundleInstallations: Iterable[BundleInstallation], hasError: Boolean) extends Product with Serializable

    Permalink

    The Bundle object represents a ConductR bundle at runtime.

  2. final case class BundleAttributes(system: String, nrOfCpus: Double, memory: Long, diskSpace: Long, roles: SortedSet[String], bundleName: String, systemVersion: String, compatibilityVersion: String) extends Product with Serializable

    Permalink

    Describes a set of attributes that may accompany a bundle throughout the system.

  3. final case class BundleConfig(endpoints: Map[String, BundleConfigEndpoint]) extends Product with Serializable

    Permalink
  4. final case class BundleConfigEndpoint(bindProtocol: String, services: Set[URI]) extends Product with Serializable

    Permalink
  5. final case class BundleEvent(timestamp: Date, event: String, description: String) extends LogEntry with Product with Serializable

    Permalink

    Represents events to be sent to clients.

  6. final case class BundleEventsFailure(code: Int, error: String) extends HttpFailure with BundleEventsResult with Product with Serializable

    Permalink

    Represents a HTTP failure result for retrieving bundle events

    Represents a HTTP failure result for retrieving bundle events

    code

    The HTTP status code

    error

    The error message

  7. sealed trait BundleEventsResult extends AnyRef

    Permalink

    HTTP result for retrieving bundle events

  8. final case class BundleEventsSuccess(events: Seq[BundleEvent]) extends BundleEventsResult with Product with Serializable

    Permalink

    Represents a HTTP success result for retrieving bundle events

    Represents a HTTP success result for retrieving bundle events

    events

    The bundle events

  9. final case class BundleExecution(host: Host, endpoints: Map[String, BundleExecutionEndpoint], isStarted: Boolean) extends Product with Serializable

    Permalink

    Represent a bundle execution

  10. final case class BundleExecutionEndpoint(bindPort: Int, hostPort: Int) extends Product with Serializable

    Permalink
  11. type BundleId = String

    Permalink
  12. final case class BundleInstallation(uniqueAddress: UniqueAddress, bundleFile: URI, configurationFile: Option[URI]) extends Product with Serializable

    Permalink

    Descriptor of a node's bundle installation including its associated optional configuration.

    Descriptor of a node's bundle installation including its associated optional configuration.

    uniqueAddress

    the unique address within the cluster

    bundleFile

    the path to the bundle, has to be a URI, because Path is not serializable

    configurationFile

    the optional path to the bundle, has to be a URI, because Path is not serializable

  13. final case class BundleLog(timestamp: Date, host: String, message: String) extends LogEntry with Product with Serializable

    Permalink

    Represents logs to be sent to the clients.

  14. final case class BundleLogsFailure(code: Int, error: String) extends HttpFailure with BundleLogsResult with Product with Serializable

    Permalink

    Represents a HTTP failure result for retrieving bundle log messages

    Represents a HTTP failure result for retrieving bundle log messages

    code

    The HTTP status code

    error

    The error message

  15. sealed trait BundleLogsResult extends AnyRef

    Permalink

    HTTP result for retrieving bundle log messages

  16. final case class BundleLogsSuccess(logs: Seq[BundleLog]) extends BundleLogsResult with Product with Serializable

    Permalink

    Represents a HTTP success result for retrieving bundle log messages

    Represents a HTTP success result for retrieving bundle log messages

    logs

    The bundle log messages

  17. final case class BundleRequestFailure(code: Int, error: String) extends HttpFailure with BundleRequestResult with Product with Serializable

    Permalink

    Represents a HTTP failure result for a bundle request

    Represents a HTTP failure result for a bundle request

    code

    The HTTP status code

    error

    The error message

  18. sealed trait BundleRequestResult extends AnyRef

    Permalink

    HTTP result for one of the following bundle requests: - Loading a bundle - Scaling (running) a bundle - Stopping a bundle - Unloading a bundle

  19. final case class BundleRequestSuccess(requestId: UUID, bundleId: BundleId) extends BundleRequestResult with Product with Serializable

    Permalink

    Represents a HTTP success result for a bundle request

    Represents a HTTP success result for a bundle request

    requestId

    The unique request id generated by the ConductR control server

    bundleId

    The given bundle id of the request

  20. final case class BundleScale(scale: Int, affinity: Option[BundleId]) extends Product with Serializable

    Permalink

    Contains the scaling information of a bundle.

    Contains the scaling information of a bundle.

    scale

    The number of instances of the bundle to start.

    affinity

    Optional: Identifier to other bundle. If specified, the current bundle will be run on the same host where the specified bundle is currently running.

  21. final case class BundleUnloadFailure(code: Int, error: String) extends HttpFailure with BundleUnloadResult with Product with Serializable

    Permalink

    Represents a HTTP failure result for an bundle request

    Represents a HTTP failure result for an bundle request

    code

    The HTTP status code

    error

    The error message

  22. sealed trait BundleUnloadResult extends AnyRef

    Permalink

    HTTP result for an unload bundle request

  23. final case class BundleUnloadSuccess(requestId: UUID) extends BundleUnloadResult with Product with Serializable

    Permalink

    Represents a HTTP success result for an unload bundle request

    Represents a HTTP success result for an unload bundle request

    requestId

    The unique request id generated by the ConductR control server

  24. type Digest = String

    Permalink
  25. type Host = String

    Permalink
  26. trait HttpFailure extends AnyRef

    Permalink

    Defines the members of an http failure class

  27. sealed trait LogEntry extends AnyRef

    Permalink

    All logs and events representation must implement this trait.

  28. final case class Member(node: UniqueAddress, status: String, roles: Set[String]) extends Product with Serializable

    Permalink

    Describes a ConductR cluster member

  29. final case class MemberInfoFailure(code: Int, error: String) extends HttpFailure with MemberInfoResult with Product with Serializable

    Permalink

    Represents a HTTP failure result for retrieving information of a ConductR cluster member

    Represents a HTTP failure result for retrieving information of a ConductR cluster member

    code

    The HTTP status code

    error

    The error message

  30. sealed trait MemberInfoResult extends AnyRef

    Permalink

    HTTP result for retrieving information of a ConductR cluster member

  31. final case class MemberInfoSuccess(member: Member, isUnreachableFrom: Seq[UniqueAddress], detectedUnreachable: Seq[URI]) extends MemberInfoResult with Product with Serializable

    Permalink

    Represents a HTTP success result for retrieving information of a ConductR cluster member

    Represents a HTTP success result for retrieving information of a ConductR cluster member

    member

    The cluster member

    isUnreachableFrom

    A sequence of members this member is unreachable from

    detectedUnreachable

    Information which members has detected this member as unreachable

  32. final case class MembersInfoFailure(code: Int, error: String) extends HttpFailure with MembersInfoResult with Product with Serializable

    Permalink
  33. sealed trait MembersInfoResult extends AnyRef

    Permalink
  34. final case class MembersInfoSuccess(selfNode: UniqueAddress, members: Seq[Member], unreachable: Seq[UnreachableMember]) extends MembersInfoResult with Product with Serializable

    Permalink
  35. case class UniqueAddress(address: URI, uid: Int) extends Product with Serializable

    Permalink

    Member identifier consisting of address and random uid.

    Member identifier consisting of address and random uid. The uid is needed to be able to distinguish different incarnations of a member with same hostname and port.

  36. case class UnreachableMember(node: UniqueAddress, observedBy: Seq[UniqueAddress]) extends Product with Serializable

    Permalink

Value Members

  1. object ApiVersion extends Enumeration

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped