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

    Represents endpoint configurations for a given Bundle.

    Represents endpoint configurations for a given Bundle.

    endpoints

    Endpoints configuration

  4. final case class BundleConfigEndpoint(bindProtocol: String, serviceName: Option[String], services: Set[URI], requestAcls: Seq[RequestAcl]) extends Product with Serializable

    Permalink

    Represents configuration for a particular endpoint.

    Represents configuration for a particular endpoint.

    bindProtocol

    the protocol which the endpoint binds to. Valid values are http, tcp, or udp. Proxying only works for http and tcp based endpoints.

    serviceName

    optional. If specified, the endpoint can be looked up through service locator through serviceName.

    services

    deprecated. List of services for a given endpoint. Deprecated in lieu of declaration using requestAcls.

    requestAcls

    One or more request mappings to access the declared endpoint.

  5. final case class BundleConfigurationFile(fileName: String, data: Publisher[Array[Byte]]) extends Product with Serializable

    Permalink

    Represents the bundle configuration file obtained from ConductR

    Represents the bundle configuration file obtained from ConductR

    fileName

    the name of the file

    data

    the stream of data bytes of the file

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

    Permalink

    Represents events to be sent to clients.

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

  8. sealed trait BundleEventsResult extends AnyRef

    Permalink

    HTTP result for retrieving bundle events

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

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

    Permalink

    Represent a bundle execution

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

    Permalink
  12. final case class BundleFile(fileName: String, data: Publisher[Array[Byte]]) extends Product with Serializable

    Permalink

    Represents the bundle file obtained from ConductR

    Represents the bundle file obtained from ConductR

    fileName

    the name of the file

    data

    the stream of data bytes of the file

  13. final case class BundleGetFailure(code: Int, error: String) extends HttpFailure with BundleGetResult with Product with Serializable

    Permalink

    Represents a HTTP failure result for retrieving bundle.

    Represents a HTTP failure result for retrieving bundle.

    code

    The HTTP status code

    error

    The error message

  14. sealed trait BundleGetResult extends AnyRef

    Permalink

    HTTP result for retrieving bundle.

  15. final case class BundleGetSuccess(bundleId: BundleId, bundleFileName: String, configFileName: Option[String]) extends BundleGetResult with Product with Serializable

    Permalink

    Represents a HTTP success result for retrieving bundle.

    Represents a HTTP success result for retrieving bundle.

    bundleId

    the given bundle id of the requested bundle.

  16. type BundleId = String

    Permalink
  17. 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

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

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

  20. sealed trait BundleLogsResult extends AnyRef

    Permalink

    HTTP result for retrieving bundle log messages

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

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

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

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

  25. final case class BundleRequestTimedOut(message: String) extends RuntimeException with Product with Serializable

    Permalink

    Thrown when timed out waiting for bundle to be installed during loading, or waiting for number of scale to be reached during scaling.

    Thrown when timed out waiting for bundle to be installed during loading, or waiting for number of scale to be reached during scaling.

    message

    The error message

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

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

  28. sealed trait BundleUnloadResult extends AnyRef

    Permalink

    HTTP result for an unload bundle request

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

  30. type Digest = String

    Permalink
  31. type Host = String

    Permalink
  32. trait HttpFailure extends AnyRef

    Permalink

    Defines the members of an http failure class

  33. case class HttpFamilyRequestMappings(requestMappings: Seq[HttpRequestMapping]) extends ProtocolFamilyRequestMappings with Product with Serializable

    Permalink

    Base type which represents request mapping for a HTTP-based protocol family (i.e.

    Base type which represents request mapping for a HTTP-based protocol family (i.e. HTTP or HTTPS).

  34. trait HttpRequestMapping extends RequestMapping

    Permalink

    Base type which represents HTTP-based request mapping.

  35. final case class InvalidBundleGetResponseBody(message: String) extends RuntimeException with Product with Serializable

    Permalink

    Thrown when HTTP response is invalid, i.e.

    Thrown when HTTP response is invalid, i.e. doesn't contain any bundle file.

    message

    The error message

  36. sealed trait LogEntry extends AnyRef

    Permalink

    All logs and events representation must implement this trait.

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

    Permalink

    Describes a ConductR cluster member

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

  39. sealed trait MemberInfoResult extends AnyRef

    Permalink

    HTTP result for retrieving information of a ConductR cluster member

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

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

    Permalink
  42. sealed trait MembersInfoResult extends AnyRef

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

    Permalink
  44. trait ProtocolFamilyRequestMappings extends AnyRef

    Permalink

    Base type which represents request mapping for a given protocol family.

  45. case class RequestAcl(protocolFamilyRequestMappings: Set[ProtocolFamilyRequestMappings]) extends Product with Serializable

    Permalink

    Represents declaration of request mappings for a given endpoint.

  46. sealed trait RequestMapping extends AnyRef

    Permalink

    Base type which represents request mapping for a particular endpoint.

  47. case class TcpFamilyRequestMappings(requestMappings: Set[TcpRequestMapping]) extends ProtocolFamilyRequestMappings with Product with Serializable

    Permalink

    Base type which represents request mapping for a TCP protocol family.

  48. case class TcpRequestMapping(port: Int) extends RequestMapping with Product with Serializable

    Permalink

    Represents request mapping for a particular TCP port.

    Represents request mapping for a particular TCP port.

    port

    TCP port to be mapped

  49. case class UdpFamilyRequestMappings(requestMappings: Set[UdpRequestMapping]) extends ProtocolFamilyRequestMappings with Product with Serializable

    Permalink

    Base type which represents request mapping for a UDP protocol family.

  50. case class UdpRequestMapping(port: Int) extends RequestMapping with Product with Serializable

    Permalink

    Represents request mapping for a particular UDP port.

    Represents request mapping for a particular UDP port.

    port

    UDP port to be mapped

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

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

    Permalink

Value Members

  1. object ApiVersion extends Enumeration

    Permalink
  2. object HttpRequestMapping

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped