public static interface AwsSdkMetrics.AdminMBean
Modifier and Type | Method and Description |
---|---|
void |
disableMetrics()
Disables the request metric collector at the AWS SDK level.
|
boolean |
enableDefaultMetrics()
Starts the default AWS SDK request metric collector, but only if no
request metric collector is currently in use at the AWS SDK level.
|
Integer |
getMetricQueueSize()
Returns the internal metric queue size to be used for the default AWS SDK
metric collector; or null if the default is to be used.
|
Integer |
getQueuePollTimeoutMilli()
Returns the internal metric queue timeout in millisecond to be used
for the default AWS SDK metric collector; or null if the default is
to be used.
|
String |
getRegion()
Returns the region configured for the default AWS SDK metric collector;
or null if the default is to be used.
|
String |
getRequestMetricCollector()
Returns the name of the request metric collector set at the AWS SDK
level, or NONE if there is none.
|
String |
getServiceMetricCollector()
Returns the name of the service metric collector set at the AWS SDK
level, or NONE if there is none.
|
boolean |
isMachineMetricsExcluded()
Returns true if machine metrics is to be excluded; false otherwise.
|
boolean |
isMetricsEnabled()
Returns true if metrics at the AWS SDK level is enabled; false
if disabled.
|
void |
setMachineMetricsExcluded(boolean excludeMachineMetrics)
Used to set whether the JVM metrics is to be excluded.
|
void |
setMetricQueueSize(Integer metricQueueSize)
Sets the metric queue size to be used for the default AWS SDK metric collector;
or null if the default is to be used.
|
void |
setQueuePollTimeoutMilli(Integer timeoutMilli)
Sets the queue poll time in millisecond to be used for the default
AWS SDK metric collector; or null if the default is to be used.
|
void |
setRegion(String region)
Sets the region to be used for the default AWS SDK metric collector;
or null if the default is to be used.
|
boolean isMetricsEnabled()
String getRequestMetricCollector()
String getServiceMetricCollector()
boolean enableDefaultMetrics()
void disableMetrics()
boolean isMachineMetricsExcluded()
void setMachineMetricsExcluded(boolean excludeMachineMetrics)
excludeMachineMetrics
- true if JVM metrics is to be excluded;
false otherwise.String getRegion()
void setRegion(String region)
Integer getMetricQueueSize()
void setMetricQueueSize(Integer metricQueueSize)
Integer getQueuePollTimeoutMilli()
void setQueuePollTimeoutMilli(Integer timeoutMilli)
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.