Class/Object

eventstore

PersistentSubscriptionSettings

Related Docs: object PersistentSubscriptionSettings | package eventstore

Permalink

case class PersistentSubscriptionSettings(resolveLinkTos: Boolean = false, startFrom: EventNumber = EventNumber.Last, extraStatistics: Boolean = false, messageTimeout: FiniteDuration = 30.seconds, maxRetryCount: Int = 500, liveBufferSize: Int = 500, readBatchSize: Int = 10, historyBufferSize: Int = 20, checkPointAfter: FiniteDuration = 2.seconds, minCheckPointCount: Int = 10, maxCheckPointCount: Int = 1000, maxSubscriberCount: Int = 0, consumerStrategy: ConsumerStrategy = ConsumerStrategy.RoundRobin) extends Product with Serializable

Represents the settings for persistent subscription

You can use eventstore.j.PersistentSubscriptionSettingsBuilder) from Java

resolveLinkTos

Whether to resolve LinkTo events automatically

startFrom

Where the subscription should start from, EventNumber

extraStatistics

Whether or not in depth latency statistics should be tracked on this subscription.

messageTimeout

The amount of time after which a message should be considered to be timedout and retried.

maxRetryCount

The maximum number of retries (due to timeout) before a message get considered to be parked

liveBufferSize

The size of the buffer listening to live messages as they happen

readBatchSize

The number of events read at a time when paging in history

historyBufferSize

The number of events to cache when paging through history

checkPointAfter

The amount of time to try to checkpoint after

minCheckPointCount

The minimum number of messages to checkpoint

maxCheckPointCount

maximum number of messages to checkpoint if this number is a reached a checkpoint will be forced.

maxSubscriberCount

The maximum number of subscribers allowed.

consumerStrategy

The ConsumerStrategy to use for distributing events to client consumers.

Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PersistentSubscriptionSettings
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PersistentSubscriptionSettings(resolveLinkTos: Boolean = false, startFrom: EventNumber = EventNumber.Last, extraStatistics: Boolean = false, messageTimeout: FiniteDuration = 30.seconds, maxRetryCount: Int = 500, liveBufferSize: Int = 500, readBatchSize: Int = 10, historyBufferSize: Int = 20, checkPointAfter: FiniteDuration = 2.seconds, minCheckPointCount: Int = 10, maxCheckPointCount: Int = 1000, maxSubscriberCount: Int = 0, consumerStrategy: ConsumerStrategy = ConsumerStrategy.RoundRobin)

    Permalink

    resolveLinkTos

    Whether to resolve LinkTo events automatically

    startFrom

    Where the subscription should start from, EventNumber

    extraStatistics

    Whether or not in depth latency statistics should be tracked on this subscription.

    messageTimeout

    The amount of time after which a message should be considered to be timedout and retried.

    maxRetryCount

    The maximum number of retries (due to timeout) before a message get considered to be parked

    liveBufferSize

    The size of the buffer listening to live messages as they happen

    readBatchSize

    The number of events read at a time when paging in history

    historyBufferSize

    The number of events to cache when paging through history

    checkPointAfter

    The amount of time to try to checkpoint after

    minCheckPointCount

    The minimum number of messages to checkpoint

    maxCheckPointCount

    maximum number of messages to checkpoint if this number is a reached a checkpoint will be forced.

    maxSubscriberCount

    The maximum number of subscribers allowed.

    consumerStrategy

    The ConsumerStrategy to use for distributing events to client consumers.

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from PersistentSubscriptionSettings to any2stringadd[PersistentSubscriptionSettings] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (PersistentSubscriptionSettings, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from PersistentSubscriptionSettings to ArrowAssoc[PersistentSubscriptionSettings] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val checkPointAfter: FiniteDuration

    Permalink

    The amount of time to try to checkpoint after

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val consumerStrategy: ConsumerStrategy

    Permalink

    The ConsumerStrategy to use for distributing events to client consumers.

  10. def ensuring(cond: (PersistentSubscriptionSettings) ⇒ Boolean, msg: ⇒ Any): PersistentSubscriptionSettings

    Permalink
    Implicit information
    This member is added by an implicit conversion from PersistentSubscriptionSettings to Ensuring[PersistentSubscriptionSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (PersistentSubscriptionSettings) ⇒ Boolean): PersistentSubscriptionSettings

    Permalink
    Implicit information
    This member is added by an implicit conversion from PersistentSubscriptionSettings to Ensuring[PersistentSubscriptionSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): PersistentSubscriptionSettings

    Permalink
    Implicit information
    This member is added by an implicit conversion from PersistentSubscriptionSettings to Ensuring[PersistentSubscriptionSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): PersistentSubscriptionSettings

    Permalink
    Implicit information
    This member is added by an implicit conversion from PersistentSubscriptionSettings to Ensuring[PersistentSubscriptionSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. val extraStatistics: Boolean

    Permalink

    Whether or not in depth latency statistics should be tracked on this subscription.

  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from PersistentSubscriptionSettings to StringFormat[PersistentSubscriptionSettings] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. val historyBufferSize: Int

    Permalink

    The number of events to cache when paging through history

  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. val liveBufferSize: Int

    Permalink

    The size of the buffer listening to live messages as they happen

  22. val maxCheckPointCount: Int

    Permalink

    maximum number of messages to checkpoint if this number is a reached a checkpoint will be forced.

  23. val maxRetryCount: Int

    Permalink

    The maximum number of retries (due to timeout) before a message get considered to be parked

  24. val maxSubscriberCount: Int

    Permalink

    The maximum number of subscribers allowed.

  25. val messageTimeout: FiniteDuration

    Permalink

    The amount of time after which a message should be considered to be timedout and retried.

  26. val minCheckPointCount: Int

    Permalink

    The minimum number of messages to checkpoint

  27. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  30. val readBatchSize: Int

    Permalink

    The number of events read at a time when paging in history

  31. val resolveLinkTos: Boolean

    Permalink

    Whether to resolve LinkTo events automatically

  32. val startFrom: EventNumber

    Permalink

    Where the subscription should start from, EventNumber

  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def [B](y: B): (PersistentSubscriptionSettings, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from PersistentSubscriptionSettings to ArrowAssoc[PersistentSubscriptionSettings] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from PersistentSubscriptionSettings to any2stringadd[PersistentSubscriptionSettings]

Inherited by implicit conversion StringFormat from PersistentSubscriptionSettings to StringFormat[PersistentSubscriptionSettings]

Inherited by implicit conversion Ensuring from PersistentSubscriptionSettings to Ensuring[PersistentSubscriptionSettings]

Inherited by implicit conversion ArrowAssoc from PersistentSubscriptionSettings to ArrowAssoc[PersistentSubscriptionSettings]

Ungrouped