Package io.ably.lib.types
Class Stats
java.lang.Object
io.ably.lib.types.Stats
Contains application statistics for a specified time interval and time period.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classContains a breakdown of summary stats data for different (TLS vs non-TLS) connection types.static enumDescribes the interval unit over which statistics are gathered.static classstatic classContains the aggregate counts for messages and data transferred.static classContains a breakdown of summary stats data for traffic over various transport types.static classContains a breakdown of summary stats data for different (channel vs presence) message types.static classstatic classstatic classDetails the stats on push notifications.static classContains the aggregate counts for requests made.static classContains the aggregate data for usage of a resource in a specific scope. -
Field Summary
FieldsModifier and TypeFieldDescriptionAStats.MessageTypesobject containing the aggregate count of all message stats.AStats.RequestCountobject containing a breakdown of API Requests.AStats.ResourceCountobject containing a breakdown of channels.AStats.ConnectionTypesobject containing a breakdown of connection related stats, such as min, mean and peak connections.intAStats.MessageTypesobject containing the aggregate count of inbound message stats.The UTC time at which the time period covered begins.AStats.MessageTypesobject containing the aggregate count of outbound message stats.AStats.MessageTypesobject containing the aggregate count of persisted message stats.AStats.PushedMessagesobject containing a breakdown of stats on push notifications.AStats.RequestCountobject containing a breakdown of Ably Token requests.The length of the interval the stats span. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longfromIntervalId(String intervalId) static StringtoIntervalId(long timestamp, Stats.Granularity granularity)
-
Field Details
-
intervalId
The UTC time at which the time period covered begins. If unit is set to minute this will be in the format YYYY-mm-dd:HH:MM, if hour it will be YYYY-mm-dd:HH, if day it will be YYYY-mm-dd:00 and if month it will be YYYY-mm-01:00.Spec: TS12a
-
unit
The length of the interval the stats span. Values will be aStats.Granularity.Spec: TS12c
-
count
public int count -
inProgress
-
all
AStats.MessageTypesobject containing the aggregate count of all message stats.Spec: TS12e
-
inbound
AStats.MessageTypesobject containing the aggregate count of inbound message stats.Spec: TS12f
-
outbound
AStats.MessageTypesobject containing the aggregate count of outbound message stats.Spec: TS12g
-
persisted
AStats.MessageTypesobject containing the aggregate count of persisted message stats.Spec: TS12h
-
connections
AStats.ConnectionTypesobject containing a breakdown of connection related stats, such as min, mean and peak connections.Spec: TS12i
-
channels
AStats.ResourceCountobject containing a breakdown of channels.Spec: TS12j
-
apiRequests
AStats.RequestCountobject containing a breakdown of API Requests.Spec: TS12k
-
tokenRequests
AStats.RequestCountobject containing a breakdown of Ably Token requests.Spec: TS12l
-
processed
-
push
AStats.PushedMessagesobject containing a breakdown of stats on push notifications.Spec: TS12m
-
-
Constructor Details
-
Stats
public Stats()
-
-
Method Details
-
toIntervalId
-
fromIntervalId
-