Package

eventstore

Permalink

package eventstore

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

Type Members

  1. trait AbstractSubscriptionActor[T] extends Actor with ActorLogging

    Permalink
  2. class AccessDeniedException extends EsException

    Permalink
  3. type ByteString = akka.util.ByteString

    Permalink
  4. class CannotEstablishConnectionException extends EsException

    Permalink
  5. sealed trait ClassTags[O, I] extends AnyRef

    Permalink
  6. class CommandNotExpectedException extends EsException

    Permalink
  7. case class Content(value: ByteString = ByteString.empty, contentType: ContentType = ContentType.Binary) extends Product with Serializable

    Permalink
  8. sealed trait ContentType extends AnyRef

    Permalink
  9. case class DeleteResult(logPosition: Position) extends Product with Serializable

    Permalink

    Result type returned after deleting a stream.

    Result type returned after deleting a stream.

    logPosition

    The position of the write in the log

  10. case class DeleteStream(streamId: Id, expectedVersion: Existing = ExpectedVersion.Any, hard: Boolean = false, requireMaster: Boolean = Settings.Default.requireMaster) extends Out with Product with Serializable

    Permalink
  11. case class DeleteStreamCompleted(position: Option[Exact] = None) extends In with Product with Serializable

    Permalink
  12. class EsConnection extends AnyRef

    Permalink

    Maintains a full duplex connection to the EventStore

    Maintains a full duplex connection to the EventStore

    All operations are handled in a full async manner. Many threads can use an EsConnection at the same time or a single thread can make many asynchronous requests. To get the most performance out of the connection it is generally recommended to use it in this way.

  13. abstract class EsException extends RuntimeException with NoStackTrace

    Permalink
  14. implicit final class EsInt extends AnyVal

    Permalink
  15. implicit final class EsString extends AnyVal

    Permalink
  16. trait EsTransaction extends AnyRef

    Permalink
  17. case class EsTransactionForActor(transactionId: Long, actor: ActorRef)(implicit timeout: Timeout) extends EsTransaction with Product with Serializable

    Permalink
  18. sealed trait Event extends Ordered[Event]

    Permalink
  19. case class EventData(eventType: String, eventId: Uuid = randomUuid, data: Content = Content.Empty, metadata: Content = Content.Empty) extends Product with Serializable

    Permalink
  20. case class EventNotFoundException(streamId: Id, number: EventNumber) extends EsException with Product with Serializable

    Permalink
  21. sealed trait EventNumber extends Ordered[EventNumber]

    Permalink
  22. case class EventRecord(streamId: Id, number: Exact, data: EventData, created: Option[DateTime] = None) extends Event with Product with Serializable

    Permalink
  23. class EventStoreExtension extends Extension

    Permalink
  24. sealed trait EventStream extends AnyRef

    Permalink
  25. sealed trait ExpectedVersion extends AnyRef

    Permalink
  26. case class HttpSettings(uri: Uri = Uri("http://127.0.0.1:2113")) extends Product with Serializable

    Permalink
  27. sealed trait In extends Message

    Permalink
  28. sealed trait InOut extends In with Out

    Permalink
  29. case class IndexedEvent(event: Event, position: Exact) extends Ordered[IndexedEvent] with Product with Serializable

    Permalink
  30. sealed trait Message extends AnyRef

    Permalink
  31. case class NonMetadataEventException(event: Event) extends EsException with Product with Serializable

    Permalink
  32. case class NotAuthenticatedException(pack: PackOut) extends EsException with Product with Serializable

    Permalink
  33. case class NotHandled(reason: Reason) extends RuntimeException with ServerError with Product with Serializable

    Permalink
  34. sealed trait OperationError extends RuntimeException with ServerError

    Permalink
  35. case class OperationTimeoutException extends EsException with Product with Serializable

    Permalink

    OperationTimeoutException

  36. sealed trait Out extends Message with OutLike

    Permalink
  37. sealed trait OutLike extends AnyRef

    Permalink
  38. sealed trait OverflowStrategy extends AnyRef

    Permalink
  39. sealed trait Position extends Ordered[Position]

    Permalink
  40. case class ProjectionDetails(name: String, effectiveName: String, version: Int, epoch: Int, status: ProjectionStatus, stateReason: String, mode: ProjectionMode, writesInProgress: Int, readsInProgress: Int, progress: Double, bufferedEvents: Int) extends Product with Serializable

    Permalink
  41. class ProjectionException extends EsException

    Permalink
  42. class ProjectionsClient extends ProjectionsUrls

    Permalink

    A client allowing to create, get the status and delete an existing projection.

  43. trait ProjectionsUrls extends AnyRef

    Permalink

    The API miss documentation so I used the C# client as a starting point See : https://github.com/EventStore/EventStore/blob/release-v3.9.0/src/EventStore.ClientAPI/Projections/ProjectionsClient.cs

    The API miss documentation so I used the C# client as a starting point See : https://github.com/EventStore/EventStore/blob/release-v3.9.0/src/EventStore.ClientAPI/Projections/ProjectionsClient.cs

    Attributes
    protected[this]
  44. case class ReadAllEvents(fromPosition: Position = Position.First, maxCount: Int = Settings.Default.readBatchSize, direction: ReadDirection = ReadDirection.Forward, resolveLinkTos: Boolean = Settings.Default.resolveLinkTos, requireMaster: Boolean = Settings.Default.requireMaster) extends Out with Product with Serializable

    Permalink
  45. case class ReadAllEventsCompleted(events: List[IndexedEvent], position: Exact, nextPosition: Exact, direction: ReadDirection) extends In with Product with Serializable

    Permalink
  46. sealed trait ReadAllEventsError extends RuntimeException with ServerError

    Permalink
  47. sealed trait ReadDirection extends AnyRef

    Permalink
  48. case class ReadEvent(streamId: Id, eventNumber: EventNumber = EventNumber.First, resolveLinkTos: Boolean = Settings.Default.resolveLinkTos, requireMaster: Boolean = Settings.Default.requireMaster) extends Out with Product with Serializable

    Permalink
  49. case class ReadEventCompleted(event: Event) extends In with Product with Serializable

    Permalink
  50. sealed trait ReadEventError extends RuntimeException with ServerError

    Permalink
  51. case class ReadStreamEvents(streamId: Id, fromNumber: EventNumber = EventNumber.First, maxCount: Int = Settings.Default.readBatchSize, direction: ReadDirection = ReadDirection.Forward, resolveLinkTos: Boolean = Settings.Default.resolveLinkTos, requireMaster: Boolean = Settings.Default.requireMaster) extends Out with Product with Serializable

    Permalink
  52. case class ReadStreamEventsCompleted(events: List[Event], nextEventNumber: EventNumber, lastEventNumber: Exact, endOfStream: Boolean, lastCommitPosition: Long, direction: ReadDirection) extends In with Product with Serializable

    Permalink
  53. sealed trait ReadStreamEventsError extends RuntimeException with ServerError

    Permalink
  54. case class ResolvedEvent(linkedEvent: EventRecord, linkEvent: EventRecord) extends Event with Product with Serializable

    Permalink
  55. class RetriesLimitReachedException extends EsException

    Permalink
  56. implicit final class RichPartialFunction extends AnyVal

    Permalink
  57. case class ScavengeDatabaseCompleted(totalTime: FiniteDuration, totalSpaceSaved: Long) extends In with Product with Serializable

    Permalink
  58. sealed trait ScavengeError extends RuntimeException with SystemError

    Permalink
  59. class ScavengeFailedException extends EsException

    Permalink
  60. sealed trait ServerError extends RuntimeException with SystemError

    Permalink
  61. class ServerErrorException extends EsException

    Permalink
  62. case class Settings(address: InetSocketAddress = "127.0.0.1" :: 1113, connectionTimeout: FiniteDuration = 1.second, maxReconnections: Int = 100, reconnectionDelayMin: FiniteDuration = 250.millis, reconnectionDelayMax: FiniteDuration = 10.seconds, defaultCredentials: Option[UserCredentials] = Some(UserCredentials.DefaultAdmin), heartbeatInterval: FiniteDuration = 500.millis, heartbeatTimeout: FiniteDuration = 5.seconds, operationMaxRetries: Int = 10, operationTimeout: FiniteDuration = 30.seconds, resolveLinkTos: Boolean = false, requireMaster: Boolean = true, readBatchSize: Int = 500, bufferSize: Int = 100000, bufferOverflowStrategy: OverflowStrategy = OverflowStrategy.Fail, cluster: Option[ClusterSettings] = None, http: HttpSettings = HttpSettings(), serializationParallelism: Int = 8, serializationOrdered: Boolean = true) extends Product with Serializable

    Permalink

    address

    IP & port of Event Store

    connectionTimeout

    The desired connection timeout

    maxReconnections

    Maximum number of reconnections before backing off, -1 to reconnect forever

    reconnectionDelayMin

    Delay before first reconnection

    reconnectionDelayMax

    Maximum delay on reconnections

    defaultCredentials

    The UserCredentials to use for operations where other UserCredentials are not explicitly supplied.

    heartbeatInterval

    The interval at which to send heartbeat messages.

    heartbeatTimeout

    The interval after which an unacknowledged heartbeat will cause the connection to be considered faulted and disconnect.

    operationMaxRetries

    The maximum number of operation retries

    operationTimeout

    The amount of time before an operation is considered to have timed out

    resolveLinkTos

    Whether to resolve LinkTo events automatically

    requireMaster

    Whether or not to require Event Store to refuse serving read or write request if it is not master

    readBatchSize

    Number of events to be retrieved by client as single message

    bufferSize

    The size of the buffer in element count

    bufferOverflowStrategy

    Strategy that is used when elements cannot fit inside the buffer

    http

    Url to access eventstore though the Http API

    serializationParallelism

    The number of serialization/deserialization functions to be run in parallel

    serializationOrdered

    Serialization done asynchronously and these futures may complete in any order, but results will be used with preserved order if set to true

  63. class StreamDeletedException extends EsException

    Permalink
  64. case class StreamEventAppeared(event: IndexedEvent) extends In with Product with Serializable

    Permalink
  65. case class StreamNotFoundException(streamId: Id) extends EsException with Product with Serializable

    Permalink
  66. class StreamSubscriptionActor extends AbstractSubscriptionActor[Event]

    Permalink
  67. sealed trait SubscribeCompleted extends In

    Permalink
  68. case class SubscribeTo(stream: EventStream, resolveLinkTos: Boolean = Settings.Default.resolveLinkTos) extends Out with Product with Serializable

    Permalink
  69. case class SubscribeToAllCompleted(lastCommit: Long) extends SubscribeCompleted with Product with Serializable

    Permalink
  70. case class SubscribeToStreamCompleted(lastCommit: Long, lastEventNumber: Option[Exact] = None) extends SubscribeCompleted with Product with Serializable

    Permalink
  71. class SubscriptionActor extends AbstractSubscriptionActor[IndexedEvent]

    Permalink
  72. sealed trait SubscriptionDropped extends RuntimeException with ServerError

    Permalink
  73. trait SubscriptionObserver[T] extends AnyRef

    Permalink
  74. class SubscriptionObserverActor[T] extends Actor

    Permalink
  75. trait SystemError extends RuntimeException with NoStackTrace with Serializable

    Permalink
  76. class TransactionActor extends Actor with ActorLogging

    Permalink
  77. case class TransactionCommit(transactionId: Long, requireMaster: Boolean = Settings.Default.requireMaster) extends Out with Product with Serializable

    Permalink
  78. case class TransactionCommitCompleted(transactionId: Long, numbersRange: Option[Range] = None, position: Option[Exact] = None) extends In with Product with Serializable

    Permalink
  79. case class TransactionStart(streamId: Id, expectedVersion: ExpectedVersion = ExpectedVersion.Any, requireMaster: Boolean = Settings.Default.requireMaster) extends Out with Product with Serializable

    Permalink
  80. case class TransactionStartCompleted(transactionId: Long) extends In with Product with Serializable

    Permalink
  81. case class TransactionWrite(transactionId: Long, events: List[EventData], requireMaster: Boolean = Settings.Default.requireMaster) extends Out with Product with Serializable

    Permalink
  82. case class TransactionWriteCompleted(transactionId: Long) extends In with Product with Serializable

    Permalink
  83. case class UserCredentials(login: String, password: String) extends Product with Serializable

    Permalink
  84. type Uuid = UUID

    Permalink
  85. case class WithCredentials(out: Out, credentials: UserCredentials) extends OutLike with Product with Serializable

    Permalink
  86. case class WriteEvents(streamId: Id, events: List[EventData], expectedVersion: ExpectedVersion = ExpectedVersion.Any, requireMaster: Boolean = Settings.Default.requireMaster) extends Out with Product with Serializable

    Permalink
  87. case class WriteEventsCompleted(numbersRange: Option[Range] = None, position: Option[Exact] = None) extends In with Product with Serializable

    Permalink
  88. case class WriteResult(nextExpectedVersion: Exact, logPosition: Position) extends Product with Serializable

    Permalink

    Result type returned after writing to a stream.

    Result type returned after writing to a stream.

    nextExpectedVersion

    The next expected version for the stream.

    logPosition

    The position of the write in the log

  89. class WrongExpectedVersionException extends EsException

    Permalink

Value Members

  1. object AllStreamsPublisher

    Permalink
  2. object Authenticate extends Out with Product with Serializable

    Permalink
  3. object Authenticated extends In with Product with Serializable

    Permalink
  4. object BadRequest extends RuntimeException with ServerError with Product with Serializable

    Permalink
  5. val ByteString: akka.util.ByteString.type

    Permalink
  6. object ClassTags

    Permalink
  7. object Content extends Serializable

    Permalink
  8. object ContentType

    Permalink
  9. object EsConnection

    Permalink
  10. object EsTransaction

    Permalink
  11. object Event

    Permalink
  12. object EventData extends Serializable

    Permalink
  13. object EventNumber

    Permalink
  14. object EventRecord extends Serializable

    Permalink
  15. object EventStoreExtension extends ExtensionId[EventStoreExtension] with ExtensionIdProvider

    Permalink
  16. object EventStream

    Permalink
  17. object ExpectedVersion

    Permalink
  18. object HttpSettings extends Serializable

    Permalink
  19. object InvalidTransactionException extends EsException with Product with Serializable

    Permalink
  20. object LiveProcessingStarted extends Product with Serializable

    Permalink
  21. val MaxBatchSize: Int

    Permalink
  22. object NotAuthenticated extends RuntimeException with ServerError with Product with Serializable

    Permalink
  23. object NotHandled extends Serializable

    Permalink
  24. object OperationError extends Serializable

    Permalink
  25. object OperationTimedOut extends RuntimeException with SystemError with Product with Serializable

    Permalink
  26. object OverflowStrategy

    Permalink
  27. object Ping extends InOut with Product with Serializable

    Permalink
  28. object Pong extends InOut with Product with Serializable

    Permalink
  29. object Position

    Permalink
  30. object ProjectionDetails extends Serializable

    Permalink
  31. object ProjectionsClient

    Permalink
  32. object ReadAllEventsError extends Serializable

    Permalink
  33. object ReadDirection

    Permalink
  34. object ReadEvent extends Serializable

    Permalink
  35. object ReadEventError extends Serializable

    Permalink
  36. object ReadStreamEventsError extends Serializable

    Permalink
  37. object ScavengeDatabase extends Out with Product with Serializable

    Permalink
  38. object ScavengeError extends Serializable

    Permalink
  39. object ScavengeInProgressException extends EsException with Product with Serializable

    Permalink
  40. object Settings extends Serializable

    Permalink
  41. object StreamPublisher

    Permalink
  42. object StreamSubscriptionActor

    Permalink
  43. object SubscriptionActor

    Permalink
  44. object SubscriptionDropped extends Serializable

    Permalink
  45. object SubscriptionObserverActor

    Permalink
  46. object SystemEventType

    Permalink
  47. object TransactionActor

    Permalink
  48. object Unsubscribe extends Out with Product with Serializable

    Permalink
  49. object Unsubscribed extends In with Product with Serializable

    Permalink
  50. object UserCredentials extends Serializable

    Permalink
  51. object WriteEvents extends Serializable

    Permalink
  52. object WriteResult extends Serializable

    Permalink
  53. package cluster

    Permalink
  54. package examples

    Permalink
  55. package j

    Permalink
  56. package operations

    Permalink
  57. package proto

    Permalink
  58. def randomUuid: Uuid

    Permalink
  59. package tcp

    Permalink
  60. package util

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped