trait TopicStats extends AnyRef

Response to the GetTopicStats query.

Note that this is a snapshot of the state at one point in time, that there was subscribers at that time does not guarantee there is once this response arrives. The information cannot be used to achieve delivery guarantees, but can be useful in for example tests, to observe a subscription completed before publishing messages.

Not for user extension.

Annotations
@DoNotInherit()
Source
Topic.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TopicStats
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def localSubscriberCount: Int

    returns

    The number of local subscribers subscribing to this topic actor instance when the request was handled

  2. abstract def topicInstanceCount: Int

    returns

    The number of known other topic actor instances for the topic (locally and across the cluster), that has at least one subscriber. A topic only be counted towards this sum once it has at least one subscriber and when the last local subscriber unsubscribes it will be subtracted from this sum (the value is eventually consistent).