Object/Class

com.rbmhtechnology.eventuate

ReplicationEndpoint

Related Docs: class ReplicationEndpoint | package eventuate

Permalink

object ReplicationEndpoint

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

Type Members

  1. case class Available(endpointId: String, logName: String) extends Product with Serializable

    Permalink

    Published to the actor system's event stream if a remote log is available.

  2. case class Unavailable(endpointId: String, logName: String, causes: Seq[Throwable]) extends Product with Serializable

    Permalink

    Published to the actor system's event stream if a remote log is unavailable.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val DefaultApplicationName: String

    Permalink

    Default application name.

  5. val DefaultApplicationVersion: ApplicationVersion

    Permalink

    Default application version.

  6. val DefaultLogName: String

    Permalink

    Default log name.

  7. def apply(logFactory: (String) ⇒ Props, connections: Set[ReplicationConnection])(implicit system: ActorSystem): ReplicationEndpoint

    Permalink

    Creates a ReplicationEndpoint with a single event log with name DefaultLogName.

    Creates a ReplicationEndpoint with a single event log with name DefaultLogName. The replication endpoint id must be configured as follows in application.conf:

    eventuate.endpoint.id = "endpoint-id"

    Optionally, the applicationName and applicationVersion of a replication endpoint can be configured with e.g.

    eventuate.endpoint.application.name = "my-app"
    eventuate.endpoint.application.version = "1.2"
    logFactory

    Factory of log actor Props. The String parameter of the factory is a unique log id generated by this endpoint. The log actor must be assigned this log id.

    connections

    Replication connections to other replication endpoints.

  8. def apply(logFactory: (String) ⇒ Props)(implicit system: ActorSystem): ReplicationEndpoint

    Permalink

    Creates a ReplicationEndpoint with a single event log with name DefaultLogName.

    Creates a ReplicationEndpoint with a single event log with name DefaultLogName. The replication endpoint id and replication connections must be configured as follows in application.conf:

    eventuate.endpoint.id = "endpoint-id"
    eventuate.endpoint.connections = ["host-1:port-1", "host-2:port-2", ..., "host-n:port-n"]

    Optionally, the applicationName and applicationVersion of a replication endpoint can be configured with e.g.

    eventuate.endpoint.application.name = "my-app"
    eventuate.endpoint.application.version = "1.2"
    logFactory

    Factory of log actor Props. The String parameter of the factory is a unique log id generated by this endpoint. The log actor must be assigned this log id.

  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def create(id: String, logNames: Set[String], logFactory: Function[String, Props], connections: Set[ReplicationConnection], endpointFilters: EndpointFilters, applicationName: String, applicationVersion: ApplicationVersion, system: ActorSystem): ReplicationEndpoint

    Permalink

    Java API that creates a ReplicationEndpoint.

    Java API that creates a ReplicationEndpoint.

    id

    Unique replication endpoint id.

    logNames

    Names of the event logs managed by this replication endpoint.

    logFactory

    Factory of log actor Props. The String parameter of the factory is a unique log id generated by this endpoint. The log actor must be assigned this log id.

    connections

    Replication connections to other replication endpoints.

    endpointFilters

    Replication filters applied to incoming replication read requests

    applicationName

    Name of the application that creates this replication endpoint.

    applicationVersion

    Version of the application that creates this replication endpoint.

  12. def create(logFactory: Function[String, Props], connections: Set[ReplicationConnection], system: ActorSystem): ReplicationEndpoint

    Permalink

    Java API that creates a ReplicationEndpoint.

    Java API that creates a ReplicationEndpoint.

    Creates a ReplicationEndpoint with a single event log with name DefaultLogName. The replication endpoint id must be configured as follows in application.conf:

    eventuate.endpoint.id = "endpoint-id"

    Optionally, the applicationName and applicationVersion of a replication endpoint can be configured with e.g.

    eventuate.endpoint.application.name = "my-app"
    eventuate.endpoint.application.version = "1.2"
    logFactory

    Factory of log actor Props. The String parameter of the factory is a unique log id generated by this endpoint. The log actor must be assigned this log id.

    connections

    Replication connections to other replication endpoints.

  13. def create(logFactory: Function[String, Props], system: ActorSystem): ReplicationEndpoint

    Permalink

    Java API that creates a ReplicationEndpoint.

    Java API that creates a ReplicationEndpoint.

    Creates a ReplicationEndpoint with a single event log with name DefaultLogName. The replication endpoint id and replication connections must be configured as follows in application.conf:

    eventuate.endpoint.id = "endpoint-id"
    eventuate.endpoint.connections = ["host-1:port-1", "host-2:port-2", ..., "host-n:port-n"]

    Optionally, the applicationName and applicationVersion of a replication endpoint can be configured with e.g.

    eventuate.endpoint.application.name = "my-app"
    eventuate.endpoint.application.version = "1.2"
    logFactory

    Factory of log actor Props. The String parameter of the factory is a unique log id generated by this endpoint. The log actor must be assigned this log id.

  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped