public interface BRSOverloadProtectionMXBean extends BRSStatMXBean
Modifier and Type | Method and Description |
---|---|
int |
getAcceptablePendingCount()
Returns the current value of the percent threshold pending count.
|
long |
getAcceptedTaskCount()
Returns the total number of requests that have been accepted by BRS for processing.
|
long |
getAcceptedTaskResponseCount()
Returns the total number of request event responses received by BRS.
|
long |
getBulkCustomersInProcessing()
At this time, the total bulk customers with pending requests in processing (by the BRS thread pool)
|
long |
getMaxPendingRequests()
At this time, the max pending count for a customer
|
java.lang.String |
getMaxPendingRequestsCustomer()
At this time, the customer has the max pending count
|
long |
getMessageReceiveCount()
At this time, the total of BRS event requests sent to BRS thread pool
|
long |
getMessageSendCount()
At this time, the total of BRS events responses received by BRS thread pool
|
boolean |
getOverloadProtection()
Returns if the BRS instance is protected against any overload scenarios.
|
int |
getPendingRequestHeapUsageThresholdPercentage()
Get the allowed heap usage threshold percentage for the pending usage requests based on throttling per customer mode.
|
long |
getPendingRequests()
At this time, the total pending count for all customers
|
long |
getRejectedTaskCount()
Returns the total number of requests that have been rejected by BRS.
|
int |
getThreadPendingCount()
Returns the number of Requests that are accepted by BRS but still pending in its queue to be submitted for
processing.
|
boolean |
getThrottleProcessingPerCustomer()
Throttle processing per customer or not for usage request(s).
|
long |
getTimeoutCount()
Returns the total number of requests that have been timeouted by BRS after retries.
|
long |
getUniqueCustomersInProcessing()
At this time, the total unique customers are in processing (by the BRS thread pool)
|
void |
setAcceptablePendingCount(int acceptablePendingCount)
Sets the percentage of the thread pool size before BRS starts rejecting the requests.
|
void |
setOverloadProtection(boolean overloadProtection)
To enable overload protection.
|
void |
setPendingRequestHeapUsageThresholdPercentage(int pendingRequestHeapUsageThresholdPercentage)
Get the allowed heap usage threshold percentage for the pending usage requests based on throttling per customer mode.
|
void |
setThrottleProcessingPerCustomer(boolean throttleProcessingPerCustomer)
Throttle processing per customer or not for usage request(s).
|
getBatchSize, getBatchTimeOut, getHighPriorityBatchSize, getHighPriorityBatchTimeOut, getHighPriorityThreadPoolSize, getMonitoringStats, getReportingWindowSize, getResponseTimeout, getStats, getSystemHealth, getThreadPoolSize, getThresholdLatency, init, sendDiagnosticCode, setBatchSize, setBatchTimeOut, setHighPriorityBatchSize, setHighPriorityBatchTimeOut, setHighPriorityThreadPoolSize, setReportingWindowSize, setResponseTimeout, setThreadPoolSize, setThresholdLatency
void setOverloadProtection(boolean overloadProtection)
overloadProtection
- booleanboolean getOverloadProtection()
int getThreadPendingCount()
long getRejectedTaskCount()
long getTimeoutCount()
long getAcceptedTaskCount()
long getAcceptedTaskResponseCount()
void setAcceptablePendingCount(int acceptablePendingCount)
acceptablePendingCount
- int Number of tasks that can be acceptable pending at any given timeint getAcceptablePendingCount()
java.lang.String getMaxPendingRequestsCustomer()
long getMaxPendingRequests()
long getPendingRequests()
long getUniqueCustomersInProcessing()
long getBulkCustomersInProcessing()
long getMessageReceiveCount()
long getMessageSendCount()
void setThrottleProcessingPerCustomer(boolean throttleProcessingPerCustomer)
throttleProcessingPerCustomer
- true to throttle usage processing per customer, otherwise falseboolean getThrottleProcessingPerCustomer()
int getPendingRequestHeapUsageThresholdPercentage()
void setPendingRequestHeapUsageThresholdPercentage(int pendingRequestHeapUsageThresholdPercentage)
pendingRequestHeapUsageThresholdPercentage
- heap usage threshold percentage for the pending usage requests based on throttling per customer mode.