Package com.eventstore.dbclient
Class PersistentSubscriptionConnectionInfo
- java.lang.Object
-
- com.eventstore.dbclient.PersistentSubscriptionConnectionInfo
-
public class PersistentSubscriptionConnectionInfo extends java.lang.ObjectHolds a persistent subscription connection info.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetAvailableSlots()Number of available slots.doublegetAverageItemsPerSecond()Average events per second on this connection.java.lang.StringgetConnectionName()Connection name.longgetCountSinceLastMeasurement()Number of items seen since last measurement on this connection.java.util.Map<java.lang.String,java.lang.Long>getExtraStatistics()Timing measurements for the connection.java.lang.StringgetFrom()Origin of this connection.longgetInFlightMessages()Number of in flight messages on this connection.longgetTotalItems()Total items on this connection.java.lang.StringgetUsername()Connection's username.
-
-
-
Method Detail
-
getFrom
public java.lang.String getFrom()
Origin of this connection.
-
getUsername
public java.lang.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 java.lang.String getConnectionName()
Connection name.
-
getExtraStatistics
public java.util.Map<java.lang.String,java.lang.Long> getExtraStatistics()
Timing measurements for the connection. Can be enabled with the extraStatistics setting.
-
-