sec.api
Members list
Packages
Type members
Classlikes
AllMessage represents different kind of messages that you get when reading from the global stream.
AllMessage represents different kind of messages that you get when reading from the global stream.
There are two variants:
AllMessage.AllEvent A regular Event.
AllMessage.LastAllStreamPosition The last position in the global, sec.StreamId.All, stream.
Attributes
- Companion
- object
- Source
- streams.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AllEventclass LastAllStreamPosition
Attributes
- Companion
- trait
- Source
- streams.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
AllMessage.type
Checkpoint result used with server-side filtering in EventStoreDB.
Checkpoint result used with server-side filtering in EventStoreDB. Contains the LogPosition.Exact when the checkpoint was made.
Attributes
- Companion
- object
- Source
- streams.scala
- Supertypes
Attributes
- Companion
- class
- Source
- streams.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Checkpoint.type
Used for information about the nodes in an EventStoreDB cluster.
Used for information about the nodes in an EventStoreDB cluster.
Attributes
- Companion
- object
- Source
- gossip.scala
- Supertypes
Attributes
- Companion
- class
- Source
- gossip.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ClusterInfo.type
The LogPosition.Exact of the delete in the transaction log.
The LogPosition.Exact of the delete in the transaction log.
Attributes
- Source
- streams.scala
- Supertypes
Direction used when reading from a stream with variants:
Direction used when reading from a stream with variants:
Direction.Forwards when you wish to read forwards.
Direction.Backwards when you wish to read backwards. This is useful when reading the latest StreamPosition.Exact value of a particular stream.
Attributes
- Companion
- object
- Source
- direction.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Source
- direction.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Direction.type
Endpoint can be an IP Socket Address consisting of an IP address and port number.
Endpoint can be an IP Socket Address consisting of an IP address and port number. It can also be a hostname and a port number, in which case an attempt will be made to resolve the hostname.
Attributes
- Companion
- object
- Source
- endpoint.scala
- Supertypes
Attributes
- Companion
- class
- Source
- endpoint.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Endpoint.type
Used for server-side event stream filtering.
Used for server-side event stream filtering. There are two *kinds* of filters:
EventFilter.ByStreamId when you wish to filter by stream identifier.
EventFilter.ByEventType when you wish to filter by event type.
In combination with EventFilter.Kind you can choose between two types of filter expressions:
EventFilter.PrefixFilter when you wish to filter for prefixes. An example of this is
PrefixFilter("user_stream")
for streams starting with the string value"user_stream"
like"user_stream-a"
and"user_stream-b"
.EventFilter.RegexFilter when you wish to filter with a regular expression. An example of this is
RegexFilter("[$].*")
when you for do not wish to retrieve events starting with$
.
Attributes
- Companion
- object
- Source
- filter.scala
- Supertypes
Attributes
- Companion
- class
- Source
- filter.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
EventFilter.type
Attributes
- Companion
- object
- Source
- gossip.scala
- Supertypes
Attributes
- Companion
- class
- Source
- gossip.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
MemberInfo.type
Used in conjunction with cluster connections where you provide a preference about what state a node should be in.
Used in conjunction with cluster connections where you provide a preference about what state a node should be in.
There are three variants:
NodePreference.Leader When you prefer the node you connect to is in a VNodeState.Leader state. This is, for instance, used when you wish to avoid unecessary network hops when appending data.
NodePreference.Follower When you prefer the node you connect to is in a VNodeState.Follower state. This is useful in situations where you wish to get fast subscription updates for a read model.
NodePreference.ReadOnlyReplica When you prefer the node you connect to is in a VNodeState.ReadOnlyReplica or VNodeState.ReadOnlyLeaderless state. This is useful when you wish to replicate data, but do not have requirements for fast updates or need to append data.
Attributes
- Companion
- object
- Source
- preference.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Source
- preference.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
NodePreference.type
StreamMessage represents different kind of messages that you get when reading from a stream.
StreamMessage represents different kind of messages that you get when reading from a stream.
There are four variants:
StreamMessage.StreamEvent A regular Event.
StreamMessage.FirstStreamPosition The first position of a stream.
StreamMessage.LastStreamPosition The last position of a stream.
StreamMessage.NotFound Representing a stream that was not found.
Attributes
- Companion
- object
- Source
- streams.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Source
- streams.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
StreamMessage.type
Attributes
- Companion
- object
- Source
- filter.scala
- Supertypes
Attributes
- Companion
- class
- Source
- filter.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
The LogPosition.Exact of the tombstone in the transaction log.
The LogPosition.Exact of the tombstone in the transaction log.
Attributes
- Source
- streams.scala
- Supertypes
Credentials used for EventStoreDB connections.
Credentials used for EventStoreDB connections.
Attributes
- Companion
- object
- Source
- callcontext.scala
- Supertypes
Attributes
- Companion
- class
- Source
- callcontext.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
UserCredentials.type
Attributes
- Companion
- object
- Source
- gossip.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object CatchingUp.typeobject Clone.typeobject DiscoverLeader.typeobject Follower.typeobject Initializing.typeobject Leader.typeobject Manager.typeobject PreLeader.typeobject PreReadOnlyReplica.typeobject PreReplica.typeobject ReadOnlyLeaderless.typeobject ReadOnlyReplica.typeobject ResigningLeader.typeobject Shutdown.typeobject ShuttingDown.typeobject Unknown.typeShow all
Attributes
- Companion
- trait
- Source
- gossip.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
VNodeState.type
The current last StreamPosition.Exact of the stream appended to and its corresponding LogPosition.Exact in the transaction log.
The current last StreamPosition.Exact of the stream appended to and its corresponding LogPosition.Exact in the transaction log.
Attributes
- Source
- streams.scala
- Supertypes
Attributes
- Source
- exceptions.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
exceptions.type