public class WatchesSummary extends Object
Modifier and Type | Field and Description |
---|---|
static String |
KEY_NUM_CONNECTIONS
The key in the map returned by
toMap() for the number of
connections. |
static String |
KEY_NUM_PATHS
The key in the map returned by
toMap() for the number of paths. |
static String |
KEY_NUM_TOTAL_WATCHES
The key in the map returned by
toMap() for the total number of
watches. |
Modifier and Type | Method and Description |
---|---|
int |
getNumConnections()
Gets the number of connections (sessions) that have set watches.
|
int |
getNumPaths()
Gets the number of paths that have watches set on them.
|
int |
getTotalWatches()
Gets the total number of watches set.
|
Map<String,Object> |
toMap()
Converts this summary to a map.
|
public static final String KEY_NUM_CONNECTIONS
toMap()
for the number of
connections.public static final String KEY_NUM_PATHS
toMap()
for the number of paths.public static final String KEY_NUM_TOTAL_WATCHES
toMap()
for the total number of
watches.public int getNumConnections()
public int getNumPaths()
public int getTotalWatches()
Copyright © 2008–2019 The Apache Software Foundation. All rights reserved.