Package akka.persistence.typed.delivery
Class EventSourcedProducerQueue.Settings
- java.lang.Object
-
- akka.persistence.typed.delivery.EventSourcedProducerQueue.Settings
-
- Enclosing class:
- EventSourcedProducerQueue<A>
public static final class EventSourcedProducerQueue.Settings extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.concurrent.duration.FiniteDurationcleanupUnusedAfter()booleandeleteEvents()java.time.DurationgetCleanupUnusedAfter()Java APIjava.time.DurationgetRestartMaxBackoff()Java APIjava.lang.StringjournalPluginId()intkeepNSnapshots()scala.concurrent.duration.FiniteDurationrestartMaxBackoff()intsnapshotEvery()java.lang.StringsnapshotPluginId()java.lang.StringtoString()EventSourcedProducerQueue.SettingswithCleanupUnusedAfter(java.time.Duration newCleanupUnusedAfter)Java APIEventSourcedProducerQueue.SettingswithCleanupUnusedAfter(scala.concurrent.duration.FiniteDuration newCleanupUnusedAfter)Scala APIEventSourcedProducerQueue.SettingswithDeleteEvents(boolean newDeleteEvents)EventSourcedProducerQueue.SettingswithJournalPluginId(java.lang.String id)EventSourcedProducerQueue.SettingswithKeepNSnapshots(int newKeepNSnapshots)EventSourcedProducerQueue.SettingswithRestartMaxBackoff(java.time.Duration newRestartMaxBackoff)Java APIEventSourcedProducerQueue.SettingswithRestartMaxBackoff(scala.concurrent.duration.FiniteDuration newRestartMaxBackoff)Scala APIEventSourcedProducerQueue.SettingswithSnapshotEvery(int newSnapshotEvery)EventSourcedProducerQueue.SettingswithSnapshotPluginId(java.lang.String id)
-
-
-
Method Detail
-
restartMaxBackoff
public scala.concurrent.duration.FiniteDuration restartMaxBackoff()
-
snapshotEvery
public int snapshotEvery()
-
keepNSnapshots
public int keepNSnapshots()
-
deleteEvents
public boolean deleteEvents()
-
cleanupUnusedAfter
public scala.concurrent.duration.FiniteDuration cleanupUnusedAfter()
-
journalPluginId
public java.lang.String journalPluginId()
-
snapshotPluginId
public java.lang.String snapshotPluginId()
-
withSnapshotEvery
public EventSourcedProducerQueue.Settings withSnapshotEvery(int newSnapshotEvery)
-
withKeepNSnapshots
public EventSourcedProducerQueue.Settings withKeepNSnapshots(int newKeepNSnapshots)
-
withDeleteEvents
public EventSourcedProducerQueue.Settings withDeleteEvents(boolean newDeleteEvents)
-
withRestartMaxBackoff
public EventSourcedProducerQueue.Settings withRestartMaxBackoff(scala.concurrent.duration.FiniteDuration newRestartMaxBackoff)
Scala API
-
withRestartMaxBackoff
public EventSourcedProducerQueue.Settings withRestartMaxBackoff(java.time.Duration newRestartMaxBackoff)
Java API
-
getRestartMaxBackoff
public java.time.Duration getRestartMaxBackoff()
Java API
-
withCleanupUnusedAfter
public EventSourcedProducerQueue.Settings withCleanupUnusedAfter(scala.concurrent.duration.FiniteDuration newCleanupUnusedAfter)
Scala API
-
withCleanupUnusedAfter
public EventSourcedProducerQueue.Settings withCleanupUnusedAfter(java.time.Duration newCleanupUnusedAfter)
Java API
-
getCleanupUnusedAfter
public java.time.Duration getCleanupUnusedAfter()
Java API
-
withJournalPluginId
public EventSourcedProducerQueue.Settings withJournalPluginId(java.lang.String id)
-
withSnapshotPluginId
public EventSourcedProducerQueue.Settings withSnapshotPluginId(java.lang.String id)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-