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 class
Contains a breakdown of summary stats data for different (TLS vs non-TLS) connection types.static enum
Describes the interval unit over which statistics are gathered.static class
static class
Contains the aggregate counts for messages and data transferred.static class
Contains a breakdown of summary stats data for traffic over various transport types.static class
Contains a breakdown of summary stats data for different (channel vs presence) message types.static class
static class
static class
Details the stats on push notifications.static class
Contains the aggregate counts for requests made.static class
Contains the aggregate data for usage of a resource in a specific scope. -
Field Summary
FieldsModifier and TypeFieldDescriptionAStats.MessageTypes
object containing the aggregate count of all message stats.AStats.RequestCount
object containing a breakdown of API Requests.AStats.ResourceCount
object containing a breakdown of channels.AStats.ConnectionTypes
object containing a breakdown of connection related stats, such as min, mean and peak connections.int
AStats.MessageTypes
object containing the aggregate count of inbound message stats.The UTC time at which the time period covered begins.AStats.MessageTypes
object containing the aggregate count of outbound message stats.AStats.MessageTypes
object containing the aggregate count of persisted message stats.AStats.PushedMessages
object containing a breakdown of stats on push notifications.AStats.RequestCount
object containing a breakdown of Ably Token requests.The length of the interval the stats span. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long
fromIntervalId
(String intervalId) static String
toIntervalId
(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.MessageTypes
object containing the aggregate count of all message stats.Spec: TS12e
-
inbound
AStats.MessageTypes
object containing the aggregate count of inbound message stats.Spec: TS12f
-
outbound
AStats.MessageTypes
object containing the aggregate count of outbound message stats.Spec: TS12g
-
persisted
AStats.MessageTypes
object containing the aggregate count of persisted message stats.Spec: TS12h
-
connections
AStats.ConnectionTypes
object containing a breakdown of connection related stats, such as min, mean and peak connections.Spec: TS12i
-
channels
AStats.ResourceCount
object containing a breakdown of channels.Spec: TS12j
-
apiRequests
AStats.RequestCount
object containing a breakdown of API Requests.Spec: TS12k
-
tokenRequests
AStats.RequestCount
object containing a breakdown of Ably Token requests.Spec: TS12l
-
processed
-
push
AStats.PushedMessages
object containing a breakdown of stats on push notifications.Spec: TS12m
-
-
Constructor Details
-
Stats
public Stats()
-
-
Method Details
-
toIntervalId
-
fromIntervalId
-