Class PersistentSubscriptionConnectionInfo

java.lang.Object
com.eventstore.dbclient.PersistentSubscriptionConnectionInfo

public class PersistentSubscriptionConnectionInfo extends Object
Holds a persistent subscription connection info.
  • Method Details

    • getFrom

      public String getFrom()
      Origin of this connection.
    • getUsername

      public String getUsername()
      Connection's username.
    • getAverageItemsPerSecond

      public double getAverageItemsPerSecond()
      Average events per second on this connection.
    • getTotalItems

      public long getTotalItems()
      Total items on this connection.
    • getCountSinceLastMeasurement

      public long getCountSinceLastMeasurement()
      Number of items seen since last measurement on this connection. Used as the basis for averageItemsPerSecond
    • getAvailableSlots

      public long getAvailableSlots()
      Number of available slots.
    • getInFlightMessages

      public long getInFlightMessages()
      Number of in flight messages on this connection.
    • getConnectionName

      public String getConnectionName()
      Connection name.
    • getExtraStatistics

      public Map<String,Long> getExtraStatistics()
      Timing measurements for the connection. Can be enabled with the extraStatistics setting.
    • toString

      public String toString()
      Overrides:
      toString in class Object