Packages

c

com.github.j5ik2o.event.store.adapter.scala.internal

EventStoreAsyncForDynamoDB

final class EventStoreAsyncForDynamoDB[AID <: AggregateId, A <: Aggregate[A, AID], E <: Event[AID]] extends EventStoreAsync[AID, A, E]

Linear Supertypes
EventStoreAsync[AID, A, E], EventStoreOptions[AID, A, E], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventStoreAsyncForDynamoDB
  2. EventStoreAsync
  3. EventStoreOptions
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type This = EventStoreAsync[AID, A, E]
    Definition Classes
    EventStoreAsyncEventStoreOptions

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  9. def getEventsByIdSinceSequenceNumber(clazz: Class[E], id: AID, sequenceNumber: Long)(implicit ec: ExecutionContext): Future[Seq[E]]

    Gets the events by the aggregate id and since the sequence number.

    Gets the events by the aggregate id and since the sequence number. / 集約IDとシーケンス番号以降のイベントを取得します。

    clazz

    class of Event E to be deserialized / デシリアライズ対象のイベントEのクラス

    id

    id of Aggregate A / 集約AのID

    sequenceNumber

    sequence number / シーケンス番号

    returns

    Event Seq wrapped by Future / FutureでラップされたEventのSeq

    Definition Classes
    EventStoreAsyncForDynamoDBEventStoreAsync
    Exceptions thrown

    com.github.j5ik2o.event.store.adapter.java.DeserializationException if an error occurred during deserialization / デシリアライズ中にエラーが発生した場合

    com.github.j5ik2o.event.store.adapter.java.EventStoreReadException if an error occurred during reading from the event store

  10. def getLatestSnapshotById(clazz: Class[A], id: AID)(implicit ec: ExecutionContext): Future[Option[A]]

    Gets the latest snapshot by the aggregate id.

    Gets the latest snapshot by the aggregate id. / 集約IDによる最新のスナップショットを取得します。

    clazz

    class of Aggregate A to be deserialized / デシリアライズ対象の集約Aのクラス

    id

    id of Aggregate A / 集約AのID

    returns

    Aggregate wrapped by Future / FutureでラップされたAggregate

    Definition Classes
    EventStoreAsyncForDynamoDBEventStoreAsync
    Exceptions thrown

    com.github.j5ik2o.event.store.adapter.java.DeserializationException if an error occurred during deserialization / デシリアライズ中にエラーが発生した場合

    com.github.j5ik2o.event.store.adapter.java.EventStoreReadException if an error occurred during reading from the event store

  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. def persistEvent(event: E, version: Long)(implicit ec: ExecutionContext): Future[Unit]

    Persists an event only.

    Persists an event only. / イベントのみを永続化します。

    event

    Event / イベント

    version

    version / バージョン

    returns

    Future without result / 結果を持たないFuture

    Definition Classes
    EventStoreAsyncForDynamoDBEventStoreAsync
    Exceptions thrown

    com.github.j5ik2o.event.store.adapter.java.EventStoreWriteException if an error occurred during writing to the event store / イベントストアへの書き込み中にエラーが発生した場合

    com.github.j5ik2o.event.store.adapter.java.SerializationException if an error occurred during serialization / シリアライズ中にエラーが発生した場合

    com.github.j5ik2o.event.store.adapter.java.TransactionException if an error occurred during transaction / トランザクション中にエラーが発生した場合

  17. def persistEventAndSnapshot(event: E, snapshot: A)(implicit ec: ExecutionContext): Future[Unit]

    Persists an event and a snapshot.

    Persists an event and a snapshot. / イベントとスナップショットを永続化します。

    event

    Event / イベント

    snapshot

    Aggregate / スナップショット

    returns

    Future without result / 結果を持たないFuture

    Definition Classes
    EventStoreAsyncForDynamoDBEventStoreAsync
    Exceptions thrown

    com.github.j5ik2o.event.store.adapter.java.EventStoreWriteException if an error occurred during writing to the event store / イベントストアへの書き込み中にエラーが発生した場合

    com.github.j5ik2o.event.store.adapter.java.SerializationException if an error occurred during serialization / シリアライズ中にエラーが発生した場合

    com.github.j5ik2o.event.store.adapter.java.TransactionException if an error occurred during transaction / トランザクション中にエラーが発生した場合

  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. def withDeleteTtl(deleteTtl: FiniteDuration): EventStoreAsyncForDynamoDB[AID, A, E]

    Specifies the time until it is deleted by TTL.

    Specifies the time until it is deleted by TTL. / TTLによって削除されるまでの時間を指定します。

    deleteTtl

    Time until it is deleted by TTL / TTLによって削除されるまでの時間

    returns

    This

    Definition Classes
    EventStoreAsyncForDynamoDBEventStoreOptions
  24. def withEventSerializer(eventSerializer: EventSerializer[AID, E]): EventStoreAsyncForDynamoDB[AID, A, E]

    Specifies the event serializer.

    Specifies the event serializer. / イベントシリアライザを指定します。

    eventSerializer

    EventSerializer instance / EventSerializerのインスタンス

    returns

    This

    Definition Classes
    EventStoreAsyncForDynamoDBEventStoreOptions
  25. def withKeepSnapshotCount(keepSnapshotCount: Int): EventStoreAsyncForDynamoDB[AID, A, E]

    Specifies the number of snapshots to keep.

    Specifies the number of snapshots to keep. / スナップショットを保持する数を指定します。

    keepSnapshotCount

    the number of snapshots kept / スナップショットを保持する数

    returns

    This

    Definition Classes
    EventStoreAsyncForDynamoDBEventStoreOptions
  26. def withKeyResolver(keyResolver: KeyResolver[AID]): EventStoreAsyncForDynamoDB[AID, A, E]

    Specifies the key resolver.

    Specifies the key resolver. / キーリゾルバを指定します。

    keyResolver

    KeyResolver instance / KeyResolverのインスタンス

    returns

    This

    Definition Classes
    EventStoreAsyncForDynamoDBEventStoreOptions
  27. def withSnapshotSerializer(snapshotSerializer: SnapshotSerializer[AID, A]): EventStoreAsyncForDynamoDB[AID, A, E]

    Specifies the snapshot serializer.

    Specifies the snapshot serializer. / スナップショットシリアライザを指定します。

    snapshotSerializer

    SnapshotSerializer instance / SnapshotSerializerのインスタンス

    returns

    This

    Definition Classes
    EventStoreAsyncForDynamoDBEventStoreOptions

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from EventStoreAsync[AID, A, E]

Inherited from EventStoreOptions[AID, A, E]

Inherited from AnyRef

Inherited from Any

Ungrouped