Package org.apache.drill.exec.rpc
Class AbstractRpcMetrics
java.lang.Object
org.apache.drill.exec.rpc.AbstractRpcMetrics
- All Implemented Interfaces:
RpcMetrics
- Direct Known Subclasses:
ControlRpcMetrics
,DataRpcMetrics
,UserRpcMetrics
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
initialize
(boolean useEncryptedCounter, BufferAllocator allocator) protected void
registerAllocatorMetrics
(BufferAllocator allocator, String metricPrefix) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.drill.exec.rpc.RpcMetrics
addConnectionCount, decConnectionCount, getEncryptedConnectionCount, getUnEncryptedConnectionCount
-
Field Details
-
useEncryptedCounter
protected boolean useEncryptedCounter -
CONNECTION_COUNTER_PREFIX
- See Also:
-
ALLOCATOR_METRICS_PREFIX
- See Also:
-
-
Constructor Details
-
AbstractRpcMetrics
public AbstractRpcMetrics()
-
-
Method Details
-
registerAllocatorMetrics
-
initialize
-