Package io.datarouter.storage.util
Class DatarouterCounters
java.lang.Object
io.datarouter.storage.util.DatarouterCounters
public class DatarouterCounters extends Object
-
Field Summary
Fields Modifier and Type Field Description static StringAGGREGATION_clientstatic StringAGGREGATION_client_serverstatic StringAGGREGATION_client_server_tablestatic StringAGGREGATION_client_server_table_opstatic StringAGGREGATION_client_server_table_regionstatic StringAGGREGATION_client_table_serverstatic StringAGGREGATION_client_table_server_opstatic StringAGGREGATION_nodestatic StringAGGREGATION_opstatic StringAGGREGATION_regionstatic StringAGGREGATION_tablestatic StringCLIENT_TYPE_virtualstatic StringPREFIX -
Constructor Summary
Constructors Constructor Description DatarouterCounters() -
Method Summary
Modifier and Type Method Description static voidincClient(ClientType<?,?> type, String key, String clientName, long delta)static voidincClientNodeCustom(ClientType<?,?> type, String key, String clientName, String nodeName, long delta)static voidincClientTable(ClientType<?,?> type, String key, String clientName, String tableName, long delta)static voidincClientTableOpRegion(String clientTypeString, String clientName, String tableName, String opName, String regionName, long delta)static voidincFromCounterAdapter(PhysicalNode<?,?,?> physicalNode, String key, long delta)static voidincNode(String key, String nodeName, long delta)static voidincOp(ClientType<?,?> type, String key)
-
Field Details
-
PREFIX
- See Also:
- Constant Field Values
-
CLIENT_TYPE_virtual
- See Also:
- Constant Field Values
-
AGGREGATION_op
- See Also:
- Constant Field Values
-
AGGREGATION_client
- See Also:
- Constant Field Values
-
AGGREGATION_table
- See Also:
- Constant Field Values
-
AGGREGATION_node
- See Also:
- Constant Field Values
-
AGGREGATION_region
- See Also:
- Constant Field Values
-
AGGREGATION_client_server
- See Also:
- Constant Field Values
-
AGGREGATION_client_server_table
- See Also:
- Constant Field Values
-
AGGREGATION_client_server_table_region
- See Also:
- Constant Field Values
-
AGGREGATION_client_server_table_op
- See Also:
- Constant Field Values
-
AGGREGATION_client_table_server
- See Also:
- Constant Field Values
-
AGGREGATION_client_table_server_op
- See Also:
- Constant Field Values
-
-
Constructor Details
-
DatarouterCounters
public DatarouterCounters()
-
-
Method Details
-
incOp
-
incNode
-
incClientNodeCustom
public static void incClientNodeCustom(ClientType<?,?> type, String key, String clientName, String nodeName, long delta) -
incFromCounterAdapter
public static void incFromCounterAdapter(PhysicalNode<?,?,?> physicalNode, String key, long delta) -
incClient
-
incClientTable
public static void incClientTable(ClientType<?,?> type, String key, String clientName, String tableName, long delta) -
incClientTableOpRegion
-