Package com.oracle.coherence.grpc.proxy
Class GrpcProxyMetrics
- java.lang.Object
- 
- com.oracle.coherence.grpc.proxy.GrpcProxyMetrics
 
- 
- All Implemented Interfaces:
- GrpcProxyMetricsMBean
 
 public class GrpcProxyMetrics extends Object implements GrpcProxyMetricsMBean The gRPC Proxy metrics MBean implementation.- Author:
- Jonathan Knight 2020.10.14
 
- 
- 
Field SummaryFields Modifier and Type Field Description static longMIN_SNAPSHOT_REFRESHThe minimum amount of time between request duration histogram snapshots.
 - 
Constructor SummaryConstructors Constructor Description GrpcProxyMetrics(String sName, DaemonPoolExecutor.DaemonPoolManagement poolManagement)Create aGrpcProxyMetrics.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMessageDuration(long nanos)Add a timing sample to the metrics.voidaddRequestDuration(long nanos)Add a timing sample to the metrics.intgetAbandonedThreadCount()Return the total number of abandoned Daemon threads.intgetDaemonCount()Return the number of Daemon threads that exist, if the pool has been started, or the number of Daemon threads that will be created, if the pool has not yet been started.intgetDaemonCountMax()Returns the maximum number of daemon threads that the pool can create.intgetDaemonCountMin()Returns the minimum number of daemon threads that the pool should have.longgetErrorRequestCount()Return the count of requests that responded with an error.doublegetErrorRequestFifteenMinuteRate()Return the fifteen minute rate of requests that responded with an error.doublegetErrorRequestFiveMinuteRate()Return the five minute rate of requests that responded with an error.doublegetErrorRequestMeanRate()Return the mean rate of requests that responded with an error.doublegetErrorRequestOneMinuteRate()Return the one minute rate of requests that responded with an error.intgetHungTaskCount()Return the total number of currently executing hung tasks.longgetHungTaskDuration()Return the longest currently executing hung task duration (in milliseconds).longgetLastResetMillis()Return the last time stats were reset.longgetLastResizeMillis()Return the last time the daemon pool was resized.intgetMaxTaskBacklog()Return the maximum backlog value since the last time the statistics were reset.doublegetMessageDuration75thPercentile()Return the 75th percentile value from the distribution of samples in the latest snapshot of the message duration metric.doublegetMessageDuration95thPercentile()Return the 95th percentile value from the distribution of samples in the latest snapshot of the message duration metric.doublegetMessageDuration98thPercentile()Return the 98th percentile value from the distribution of samples in the latest snapshot of the message duration metric.doublegetMessageDuration999thPercentile()Return the 99.9th percentile value from the distribution of samples in the latest snapshot of the message duration metric.doublegetMessageDuration99thPercentile()Return the 99th percentile value from the distribution of samples in the latest snapshot of the message duration metric.doublegetMessageDurationMax()Return the maximum value from the distribution of samples in the latest snapshot of the message duration metric.doublegetMessageDurationMean()Return the mean value from the distribution of samples in the latest snapshot of the message duration metric.doublegetMessageDurationMin()Return the minimum value from the distribution of samples in the latest snapshot of the message duration metric.doublegetMessageDurationStdDev()Return the standard deviation from the distribution of samples in the latest snapshot of the message duration metric.longgetMessagesReceivedCount()Return the count of messages received.doublegetMessagesReceivedFifteenMinuteRate()Return the fifteen minute rate of messages received.doublegetMessagesReceivedFiveMinuteRate()Return the five minute rate of messages received.doublegetMessagesReceivedMeanRate()Return the mean rate of messages received.doublegetMessagesReceivedOneMinuteRate()Return the one minute rate of messages received.doublegetRequestDuration75thPercentile()Return the 75th percentile value from the distribution of samples in the latest snapshot of the request duration metric.doublegetRequestDuration95thPercentile()Return the 95th percentile value from the distribution of samples in the latest snapshot of the request duration metric.doublegetRequestDuration98thPercentile()Return the 98th percentile value from the distribution of samples in the latest snapshot of the request duration metric.doublegetRequestDuration999thPercentile()Return the 99.9th percentile value from the distribution of samples in the latest snapshot of the request duration metric.doublegetRequestDuration99thPercentile()Return the 99th percentile value from the distribution of samples in the latest snapshot of the request duration metric.doublegetRequestDurationMax()Return the maximum value from the distribution of samples in the latest snapshot of the request duration metric.doublegetRequestDurationMean()Return the mean value from the distribution of samples in the latest snapshot of the request duration metric.doublegetRequestDurationMin()Return the minimum value from the distribution of samples in the latest snapshot of the request duration metric.doublegetRequestDurationStdDev()Return the standard deviation from the distribution of samples in the latest snapshot of the request duration metric.longgetResponsesSentCount()Return the count of responses sent.doublegetResponsesSentFifteenMinuteRate()Return the fifteen minute rate of responses sent.doublegetResponsesSentFiveMinuteRate()Return the five minute rate of responses sent.doublegetResponsesSentMeanRate()Return the mean rate of responses sent.doublegetResponsesSentOneMinuteRate()Return the one minute rate of responses sent.longgetSuccessfulRequestCount()Return the count of requests that responded with success.doublegetSuccessfulRequestFifteenMinuteRate()Return the fifteen minute rate of successful requests.doublegetSuccessfulRequestFiveMinuteRate()Return the five minute rate of successful requests.doublegetSuccessfulRequestMeanRate()Return the one minute rate of successful requests.doublegetSuccessfulRequestOneMinuteRate()Return the one minute rate of successful requests.longgetTaskActiveMillis()Return the total number of milliseconds spent by all Daemon threads while executing tasks since the last time the statistics were reset.longgetTaskAddCount()Return the total number of tasks added to the pool since the last time the statistics were reset.intgetTaskBacklog()Return the number of tasks that have been added to the pool, but not yet scheduled for execution.longgetTaskCount()Return the total number of tasks executed by Daemon threads since the last time the statistics were reset.longgetTaskTimeout()Return the default timeout value for PriorityTasks that don't explicitly specify the execution timeout value.intgetTaskTimeoutCount()Return the total number of timed-out tasks since the last time the statistics were reset.voidmarkError()Update the failed request meter.voidmarkReceived()Update the messages received meter.voidmarkSent()Update the messages sent meter.voidmarkSuccess()Update the successful request meter.voidregisterMBean(Registry registry)Registers an MBean for thisGrpcProxyMetrics.voidsetDaemonCountMax(int count)Set the maximum daemon pool thread count.voidsetDaemonCountMin(int count)Set the minimum daemon pool thread count.
 
- 
- 
- 
Field Detail- 
MIN_SNAPSHOT_REFRESHpublic static final long MIN_SNAPSHOT_REFRESH The minimum amount of time between request duration histogram snapshots.- See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
GrpcProxyMetricspublic GrpcProxyMetrics(String sName, DaemonPoolExecutor.DaemonPoolManagement poolManagement) Create aGrpcProxyMetrics.- Parameters:
- sName- the MBean ObjectName
- poolManagement- the daemon pool management to get pool metrics
- Throws:
- NullPointerException- is the name parameter is- null
 
 
- 
 - 
Method Detail- 
addRequestDurationpublic void addRequestDuration(long nanos) Add a timing sample to the metrics.- Parameters:
- nanos- the request time in nanos.
 
 - 
addMessageDurationpublic void addMessageDuration(long nanos) Add a timing sample to the metrics.- Parameters:
- nanos- the request time in nanos.
 
 - 
markSuccesspublic void markSuccess() Update the successful request meter.
 - 
markErrorpublic void markError() Update the failed request meter.
 - 
markSentpublic void markSent() Update the messages sent meter.
 - 
markReceivedpublic void markReceived() Update the messages received meter.
 - 
getSuccessfulRequestCountpublic long getSuccessfulRequestCount() Description copied from interface:GrpcProxyMetricsMBeanReturn the count of requests that responded with success.- Specified by:
- getSuccessfulRequestCountin interface- GrpcProxyMetricsMBean
- Returns:
- the count of requests that responded with success
 
 - 
getSuccessfulRequestFifteenMinuteRatepublic double getSuccessfulRequestFifteenMinuteRate() Description copied from interface:GrpcProxyMetricsMBeanReturn the fifteen minute rate of successful requests.- Specified by:
- getSuccessfulRequestFifteenMinuteRatein interface- GrpcProxyMetricsMBean
- Returns:
- the fifteen minute rate of successful requests
 
 - 
getSuccessfulRequestFiveMinuteRatepublic double getSuccessfulRequestFiveMinuteRate() Description copied from interface:GrpcProxyMetricsMBeanReturn the five minute rate of successful requests.- Specified by:
- getSuccessfulRequestFiveMinuteRatein interface- GrpcProxyMetricsMBean
- Returns:
- the five minute rate of successful requests
 
 - 
getSuccessfulRequestOneMinuteRatepublic double getSuccessfulRequestOneMinuteRate() Description copied from interface:GrpcProxyMetricsMBeanReturn the one minute rate of successful requests.- Specified by:
- getSuccessfulRequestOneMinuteRatein interface- GrpcProxyMetricsMBean
- Returns:
- the one minute rate of successful requests
 
 - 
getSuccessfulRequestMeanRatepublic double getSuccessfulRequestMeanRate() Description copied from interface:GrpcProxyMetricsMBeanReturn the one minute rate of successful requests.- Specified by:
- getSuccessfulRequestMeanRatein interface- GrpcProxyMetricsMBean
- Returns:
- the one minute rate of successful requests.
 
 - 
getErrorRequestCountpublic long getErrorRequestCount() Description copied from interface:GrpcProxyMetricsMBeanReturn the count of requests that responded with an error.- Specified by:
- getErrorRequestCountin interface- GrpcProxyMetricsMBean
- Returns:
- the count of requests that responded with an error
 
 - 
getErrorRequestFifteenMinuteRatepublic double getErrorRequestFifteenMinuteRate() Description copied from interface:GrpcProxyMetricsMBeanReturn the fifteen minute rate of requests that responded with an error.- Specified by:
- getErrorRequestFifteenMinuteRatein interface- GrpcProxyMetricsMBean
- Returns:
- the fifteen minute rate of requests that responded with an error
 
 - 
getErrorRequestFiveMinuteRatepublic double getErrorRequestFiveMinuteRate() Description copied from interface:GrpcProxyMetricsMBeanReturn the five minute rate of requests that responded with an error.- Specified by:
- getErrorRequestFiveMinuteRatein interface- GrpcProxyMetricsMBean
- Returns:
- the five minute rate of requests that responded with an error
 
 - 
getErrorRequestOneMinuteRatepublic double getErrorRequestOneMinuteRate() Description copied from interface:GrpcProxyMetricsMBeanReturn the one minute rate of requests that responded with an error.- Specified by:
- getErrorRequestOneMinuteRatein interface- GrpcProxyMetricsMBean
- Returns:
- the one minute rate of requests that responded with an error
 
 - 
getErrorRequestMeanRatepublic double getErrorRequestMeanRate() Description copied from interface:GrpcProxyMetricsMBeanReturn the mean rate of requests that responded with an error.- Specified by:
- getErrorRequestMeanRatein interface- GrpcProxyMetricsMBean
- Returns:
- the mean rate of requests that responded with an error
 
 - 
getRequestDuration75thPercentilepublic double getRequestDuration75thPercentile() Description copied from interface:GrpcProxyMetricsMBeanReturn the 75th percentile value from the distribution of samples in the latest snapshot of the request duration metric.- Specified by:
- getRequestDuration75thPercentilein interface- GrpcProxyMetricsMBean
- Returns:
- the 75th percentile value from the distribution of samples in the latest snapshot of the request duration metric.
 
 - 
getRequestDuration95thPercentilepublic double getRequestDuration95thPercentile() Description copied from interface:GrpcProxyMetricsMBeanReturn the 95th percentile value from the distribution of samples in the latest snapshot of the request duration metric.- Specified by:
- getRequestDuration95thPercentilein interface- GrpcProxyMetricsMBean
- Returns:
- the 95th percentile value from the distribution of samples in the latest snapshot of the request duration metric.
 
 - 
getRequestDuration98thPercentilepublic double getRequestDuration98thPercentile() Description copied from interface:GrpcProxyMetricsMBeanReturn the 98th percentile value from the distribution of samples in the latest snapshot of the request duration metric.- Specified by:
- getRequestDuration98thPercentilein interface- GrpcProxyMetricsMBean
- Returns:
- the 98th percentile value from the distribution of samples in the latest snapshot of the request duration metric.
 
 - 
getRequestDuration99thPercentilepublic double getRequestDuration99thPercentile() Description copied from interface:GrpcProxyMetricsMBeanReturn the 99th percentile value from the distribution of samples in the latest snapshot of the request duration metric.- Specified by:
- getRequestDuration99thPercentilein interface- GrpcProxyMetricsMBean
- Returns:
- the 99th percentile value from the distribution of samples in the latest snapshot of the request duration metric.
 
 - 
getRequestDuration999thPercentilepublic double getRequestDuration999thPercentile() Description copied from interface:GrpcProxyMetricsMBeanReturn the 99.9th percentile value from the distribution of samples in the latest snapshot of the request duration metric.- Specified by:
- getRequestDuration999thPercentilein interface- GrpcProxyMetricsMBean
- Returns:
- the 99.9th percentile value from the distribution of samples in the latest snapshot of the request duration metric.
 
 - 
getRequestDurationMaxpublic double getRequestDurationMax() Description copied from interface:GrpcProxyMetricsMBeanReturn the maximum value from the distribution of samples in the latest snapshot of the request duration metric.- Specified by:
- getRequestDurationMaxin interface- GrpcProxyMetricsMBean
- Returns:
- the maximum value from the distribution of samples in the latest snapshot of the request duration metric.
 
 - 
getRequestDurationMeanpublic double getRequestDurationMean() Description copied from interface:GrpcProxyMetricsMBeanReturn the mean value from the distribution of samples in the latest snapshot of the request duration metric.- Specified by:
- getRequestDurationMeanin interface- GrpcProxyMetricsMBean
- Returns:
- the mean value from the distribution of samples in the latest snapshot of the request duration metric.
 
 - 
getRequestDurationMinpublic double getRequestDurationMin() Description copied from interface:GrpcProxyMetricsMBeanReturn the minimum value from the distribution of samples in the latest snapshot of the request duration metric.- Specified by:
- getRequestDurationMinin interface- GrpcProxyMetricsMBean
- Returns:
- the minimum value from the distribution of samples in the latest snapshot of the request duration metric.
 
 - 
getRequestDurationStdDevpublic double getRequestDurationStdDev() Description copied from interface:GrpcProxyMetricsMBeanReturn the standard deviation from the distribution of samples in the latest snapshot of the request duration metric.- Specified by:
- getRequestDurationStdDevin interface- GrpcProxyMetricsMBean
- Returns:
- the standard deviation from the distribution of samples in the latest snapshot of the request duration metric.
 
 - 
getMessageDuration75thPercentilepublic double getMessageDuration75thPercentile() Description copied from interface:GrpcProxyMetricsMBeanReturn the 75th percentile value from the distribution of samples in the latest snapshot of the message duration metric.- Specified by:
- getMessageDuration75thPercentilein interface- GrpcProxyMetricsMBean
- Returns:
- the 75th percentile value from the distribution of samples in the latest snapshot of the message duration metric.
 
 - 
getMessageDuration95thPercentilepublic double getMessageDuration95thPercentile() Description copied from interface:GrpcProxyMetricsMBeanReturn the 95th percentile value from the distribution of samples in the latest snapshot of the message duration metric.- Specified by:
- getMessageDuration95thPercentilein interface- GrpcProxyMetricsMBean
- Returns:
- the 95th percentile value from the distribution of samples in the latest snapshot of the message duration metric.
 
 - 
getMessageDuration98thPercentilepublic double getMessageDuration98thPercentile() Description copied from interface:GrpcProxyMetricsMBeanReturn the 98th percentile value from the distribution of samples in the latest snapshot of the message duration metric.- Specified by:
- getMessageDuration98thPercentilein interface- GrpcProxyMetricsMBean
- Returns:
- the 98th percentile value from the distribution of samples in the latest snapshot of the message duration metric.
 
 - 
getMessageDuration99thPercentilepublic double getMessageDuration99thPercentile() Description copied from interface:GrpcProxyMetricsMBeanReturn the 99th percentile value from the distribution of samples in the latest snapshot of the message duration metric.- Specified by:
- getMessageDuration99thPercentilein interface- GrpcProxyMetricsMBean
- Returns:
- the 99th percentile value from the distribution of samples in the latest snapshot of the message duration metric.
 
 - 
getMessageDuration999thPercentilepublic double getMessageDuration999thPercentile() Description copied from interface:GrpcProxyMetricsMBeanReturn the 99.9th percentile value from the distribution of samples in the latest snapshot of the message duration metric.- Specified by:
- getMessageDuration999thPercentilein interface- GrpcProxyMetricsMBean
- Returns:
- the 99.9th percentile value from the distribution of samples in the latest snapshot of the message duration metric.
 
 - 
getMessageDurationMaxpublic double getMessageDurationMax() Description copied from interface:GrpcProxyMetricsMBeanReturn the maximum value from the distribution of samples in the latest snapshot of the message duration metric.- Specified by:
- getMessageDurationMaxin interface- GrpcProxyMetricsMBean
- Returns:
- the maximum value from the distribution of samples in the latest snapshot of the message duration metric.
 
 - 
getMessageDurationMeanpublic double getMessageDurationMean() Description copied from interface:GrpcProxyMetricsMBeanReturn the mean value from the distribution of samples in the latest snapshot of the message duration metric.- Specified by:
- getMessageDurationMeanin interface- GrpcProxyMetricsMBean
- Returns:
- the mean value from the distribution of samples in the latest snapshot of the message duration metric.
 
 - 
getMessageDurationMinpublic double getMessageDurationMin() Description copied from interface:GrpcProxyMetricsMBeanReturn the minimum value from the distribution of samples in the latest snapshot of the message duration metric.- Specified by:
- getMessageDurationMinin interface- GrpcProxyMetricsMBean
- Returns:
- the minimum value from the distribution of samples in the latest snapshot of the message duration metric.
 
 - 
getMessageDurationStdDevpublic double getMessageDurationStdDev() Description copied from interface:GrpcProxyMetricsMBeanReturn the standard deviation from the distribution of samples in the latest snapshot of the message duration metric.- Specified by:
- getMessageDurationStdDevin interface- GrpcProxyMetricsMBean
- Returns:
- the standard deviation from the distribution of samples in the latest snapshot of the message duration metric.
 
 - 
getMessagesReceivedCountpublic long getMessagesReceivedCount() Description copied from interface:GrpcProxyMetricsMBeanReturn the count of messages received.- Specified by:
- getMessagesReceivedCountin interface- GrpcProxyMetricsMBean
- Returns:
- the count of messages received
 
 - 
getMessagesReceivedFifteenMinuteRatepublic double getMessagesReceivedFifteenMinuteRate() Description copied from interface:GrpcProxyMetricsMBeanReturn the fifteen minute rate of messages received.- Specified by:
- getMessagesReceivedFifteenMinuteRatein interface- GrpcProxyMetricsMBean
- Returns:
- the fifteen minute rate of messages received
 
 - 
getMessagesReceivedFiveMinuteRatepublic double getMessagesReceivedFiveMinuteRate() Description copied from interface:GrpcProxyMetricsMBeanReturn the five minute rate of messages received.- Specified by:
- getMessagesReceivedFiveMinuteRatein interface- GrpcProxyMetricsMBean
- Returns:
- the five minute rate of messages received
 
 - 
getMessagesReceivedOneMinuteRatepublic double getMessagesReceivedOneMinuteRate() Description copied from interface:GrpcProxyMetricsMBeanReturn the one minute rate of messages received.- Specified by:
- getMessagesReceivedOneMinuteRatein interface- GrpcProxyMetricsMBean
- Returns:
- the one minute rate of messages received
 
 - 
getMessagesReceivedMeanRatepublic double getMessagesReceivedMeanRate() Description copied from interface:GrpcProxyMetricsMBeanReturn the mean rate of messages received.- Specified by:
- getMessagesReceivedMeanRatein interface- GrpcProxyMetricsMBean
- Returns:
- the mean rate of messages received
 
 - 
getResponsesSentCountpublic long getResponsesSentCount() Description copied from interface:GrpcProxyMetricsMBeanReturn the count of responses sent.- Specified by:
- getResponsesSentCountin interface- GrpcProxyMetricsMBean
- Returns:
- the count of responses sent
 
 - 
getResponsesSentFifteenMinuteRatepublic double getResponsesSentFifteenMinuteRate() Description copied from interface:GrpcProxyMetricsMBeanReturn the fifteen minute rate of responses sent.- Specified by:
- getResponsesSentFifteenMinuteRatein interface- GrpcProxyMetricsMBean
- Returns:
- the fifteen minute rate of responses sent
 
 - 
getResponsesSentFiveMinuteRatepublic double getResponsesSentFiveMinuteRate() Description copied from interface:GrpcProxyMetricsMBeanReturn the five minute rate of responses sent.- Specified by:
- getResponsesSentFiveMinuteRatein interface- GrpcProxyMetricsMBean
- Returns:
- the five minute rate of responses sent
 
 - 
getResponsesSentOneMinuteRatepublic double getResponsesSentOneMinuteRate() Description copied from interface:GrpcProxyMetricsMBeanReturn the one minute rate of responses sent.- Specified by:
- getResponsesSentOneMinuteRatein interface- GrpcProxyMetricsMBean
- Returns:
- the one minute rate of responses sent
 
 - 
getResponsesSentMeanRatepublic double getResponsesSentMeanRate() Description copied from interface:GrpcProxyMetricsMBeanReturn the mean rate of responses sent.- Specified by:
- getResponsesSentMeanRatein interface- GrpcProxyMetricsMBean
- Returns:
- the mean rate of responses sent
 
 - 
getTaskBacklogpublic int getTaskBacklog() Description copied from interface:GrpcProxyMetricsMBeanReturn the number of tasks that have been added to the pool, but not yet scheduled for execution.- Specified by:
- getTaskBacklogin interface- GrpcProxyMetricsMBean
- Returns:
- the number of tasks that have been added to the pool, but not yet scheduled for execution
 
 - 
getDaemonCountMaxpublic int getDaemonCountMax() Description copied from interface:GrpcProxyMetricsMBeanReturns the maximum number of daemon threads that the pool can create.- Specified by:
- getDaemonCountMaxin interface- GrpcProxyMetricsMBean
- Returns:
- the maximum number of daemon threads that the pool can create
 
 - 
setDaemonCountMaxpublic void setDaemonCountMax(int count) Description copied from interface:GrpcProxyMetricsMBeanSet the maximum daemon pool thread count.- Specified by:
- setDaemonCountMaxin interface- GrpcProxyMetricsMBean
- Parameters:
- count- the maximum daemon pool thread count
 
 - 
getDaemonCountMinpublic int getDaemonCountMin() Description copied from interface:GrpcProxyMetricsMBeanReturns the minimum number of daemon threads that the pool should have.- Specified by:
- getDaemonCountMinin interface- GrpcProxyMetricsMBean
- Returns:
- the minimum number of daemon threads that the pool should have
 
 - 
setDaemonCountMinpublic void setDaemonCountMin(int count) Description copied from interface:GrpcProxyMetricsMBeanSet the minimum daemon pool thread count.- Specified by:
- setDaemonCountMinin interface- GrpcProxyMetricsMBean
- Parameters:
- count- the minimum daemon pool thread count
 
 - 
getDaemonCountpublic int getDaemonCount() Description copied from interface:GrpcProxyMetricsMBeanReturn the number of Daemon threads that exist, if the pool has been started, or the number of Daemon threads that will be created, if the pool has not yet been started.- Specified by:
- getDaemonCountin interface- GrpcProxyMetricsMBean
- Returns:
- the number of Daemon threads that exist
 
 - 
getAbandonedThreadCountpublic int getAbandonedThreadCount() Description copied from interface:GrpcProxyMetricsMBeanReturn the total number of abandoned Daemon threads.Note: this property is purposely not reset when stats are reset. - Specified by:
- getAbandonedThreadCountin interface- GrpcProxyMetricsMBean
- Returns:
- the total number of abandoned Daemon threads
 
 - 
getTaskActiveMillispublic long getTaskActiveMillis() Description copied from interface:GrpcProxyMetricsMBeanReturn the total number of milliseconds spent by all Daemon threads while executing tasks since the last time the statistics were reset.Note: this value could be greater then the time elapsed since each daemon adds its own processing time when working in parallel. - Specified by:
- getTaskActiveMillisin interface- GrpcProxyMetricsMBean
- Returns:
- the total number of milliseconds spent by all Daemon threads while executing tasks since the last time the statistics were reset
 
 - 
getHungTaskCountpublic int getHungTaskCount() Description copied from interface:GrpcProxyMetricsMBeanReturn the total number of currently executing hung tasks.Note: this property is purposely not reset when stats are reset. - Specified by:
- getHungTaskCountin interface- GrpcProxyMetricsMBean
- Returns:
- the total number of currently executing hung tasks
 
 - 
getHungTaskDurationpublic long getHungTaskDuration() Description copied from interface:GrpcProxyMetricsMBeanReturn the longest currently executing hung task duration (in milliseconds).Note: this property is purposely not reset when stats are reset. - Specified by:
- getHungTaskDurationin interface- GrpcProxyMetricsMBean
- Returns:
- the longest currently executing hung task duration (in milliseconds)
 
 - 
getLastResetMillispublic long getLastResetMillis() Description copied from interface:GrpcProxyMetricsMBeanReturn the last time stats were reset.- Specified by:
- getLastResetMillisin interface- GrpcProxyMetricsMBean
- Returns:
- the last time stats were reset
 
 - 
getLastResizeMillispublic long getLastResizeMillis() Description copied from interface:GrpcProxyMetricsMBeanReturn the last time the daemon pool was resized.- Specified by:
- getLastResizeMillisin interface- GrpcProxyMetricsMBean
- Returns:
- the last time the daemon pool was resized
 
 - 
getTaskAddCountpublic long getTaskAddCount() Description copied from interface:GrpcProxyMetricsMBeanReturn the total number of tasks added to the pool since the last time the statistics were reset.- Specified by:
- getTaskAddCountin interface- GrpcProxyMetricsMBean
- Returns:
- the total number of tasks added to the pool since the last time the statistics were reset
 
 - 
getTaskCountpublic long getTaskCount() Description copied from interface:GrpcProxyMetricsMBeanReturn the total number of tasks executed by Daemon threads since the last time the statistics were reset.- Specified by:
- getTaskCountin interface- GrpcProxyMetricsMBean
- Returns:
- the total number of tasks executed by Daemon threads since the last time the statistics were reset
 
 - 
getMaxTaskBacklogpublic int getMaxTaskBacklog() Description copied from interface:GrpcProxyMetricsMBeanReturn the maximum backlog value since the last time the statistics were reset.- Specified by:
- getMaxTaskBacklogin interface- GrpcProxyMetricsMBean
- Returns:
- the maximum backlog value since the last time the statistics were reset
 
 - 
getTaskTimeoutCountpublic int getTaskTimeoutCount() Description copied from interface:GrpcProxyMetricsMBeanReturn the total number of timed-out tasks since the last time the statistics were reset.- Specified by:
- getTaskTimeoutCountin interface- GrpcProxyMetricsMBean
- Returns:
- the total number of timed-out tasks since the last time the statistics were reset
 
 - 
getTaskTimeoutpublic long getTaskTimeout() Description copied from interface:GrpcProxyMetricsMBeanReturn the default timeout value for PriorityTasks that don't explicitly specify the execution timeout value.- Specified by:
- getTaskTimeoutin interface- GrpcProxyMetricsMBean
- Returns:
- the default timeout value for PriorityTasks that don't explicitly specify the execution timeout value
 
 - 
registerMBeanpublic void registerMBean(Registry registry) Registers an MBean for thisGrpcProxyMetrics.
 
- 
 
-