Package io.ably.lib.types
Class SummaryClientIdCounts
java.lang.Object
io.ably.lib.types.SummaryClientIdCounts
The per-name value for the multiple.v1 aggregation method.
-
Field Summary
FieldsModifier and TypeFieldDescriptionA list of the clientIds of all clients who have published an annotation with this name, and the count each of them have contributed.final booleanWhether the list of clientIds has been clipped due to exceeding the maximum number of clients.final intThe sum of the counts from all clients who have published an annotation with this namefinal intThe total number of distinct clientIds in the map (equal to length of map if clipped is false).final intThe sum of the counts from all unidentified clients who have published an annotation with this name, and so who are not included in the clientIds list -
Constructor Summary
ConstructorsConstructorDescriptionSummaryClientIdCounts(int total, Map<String, Integer> clientIds, int totalUnidentified, boolean clipped, int totalClientIds) -
Method Summary
-
Field Details
-
total
public final int totalThe sum of the counts from all clients who have published an annotation with this name -
clientIds
A list of the clientIds of all clients who have published an annotation with this name, and the count each of them have contributed. -
totalUnidentified
public final int totalUnidentifiedThe sum of the counts from all unidentified clients who have published an annotation with this name, and so who are not included in the clientIds list -
clipped
public final boolean clippedWhether the list of clientIds has been clipped due to exceeding the maximum number of clients. -
totalClientIds
public final int totalClientIdsThe total number of distinct clientIds in the map (equal to length of map if clipped is false).
-
-
Constructor Details
-
SummaryClientIdCounts
-