To inspect a limiter, use the following rhino-console command or related MBean operations.
- Console command
- MBean operations
LimiterMBean operationsRateLimiterMBean operationsSaturationLimiterMBean operations
Console command
getlimiterinfo
Command |
getlimiterinfo <limitername> [-c]
Description
Displays the current configuration settings of the specified limiter. If the -c
flag is provided, all stored default and per node settings for the limiter are
listed. Otherwise the current configuration of all event routing nodes (as
derived from the stored settings) is listed.
|
||
|---|---|---|---|
Examples |
To view all configuration properties stored for a limiter $ ./rhino-console getlimiterinfo SystemInput -c
limiter-name node-id bypassed depth maxrate parent time-unit type
------------- --------- --------- ------ -------- ---------------- ---------- -----
SystemInput defaults true 1.0 0.0 QueueSaturation SECONDS RATE
n/a 101 false * 100.0 n/a n/a n/a
2 rows
'*' means no value set
'n/a' means setting not configurable per node
NOTE: Ramp up of SystemInput limiter is currently disabled
To view the effective configuration for limiter $ ./rhino-console getlimiterinfo SystemInput limiter-name node-id bypassed depth maxrate parent time-unit type ------------- -------- --------- ------ -------- ---------------- ---------- ----- SystemInput 101 false 1.0 100.0 QueueSaturation SECONDS RATE 1 rows '*' means no value set NOTE: Ramp up of SystemInput limiter is currently disabled |
MBean operations
Limiter MBean operations
| Operation | Usage |
|---|---|
TabularData getConfigSummary(); |
|
TabularData getInfoSummary(int[] nodeIDs)
throws NullPointerException, ConfigurationException, InvalidArgumentException;
|
|
String[] getChildLimiters()
throws ConfigurationException;
|
|
String[] getConnectedEndPoints()
throws ConfigurationException;
|
|
String getName()
throws ConfigurationException;
|
|
String getParent()
throws ConfigurationException;
|
|
String getType()
throws ConfigurationException;
|
|
boolean isBypassedDefault()
throws ConfigurationException;
|
|
boolean[] isBypassedForNode(int[] nodeIDs)
throws NullPointerException, ConfigurationException, InvalidArgumentException;
|
RateLimiter MBean operations
| Operation | Usage |
|---|---|
double getDepthDefault()
throws ConfigurationException;
|
|
double[] getDepthForNode(int[] nodeIDs)
throws ConfigurationException, NullPointerException, InvalidArgumentException;
|
|
double getMaxRateDefault()
throws ConfigurationException;
|
|
double[] getMaxRateForNode(int[] nodeIDs)
throws ConfigurationException, NullPointerException, InvalidArgumentException;
|
|
double getTimeUnit()
throws ConfigurationException;
|
SaturationLimiter MBean operations
| Operation | Usage |
|---|---|
double getMaxSaturationDefault()
throws ConfigurationException;
|
|
double[] getMaxSaturationForNode(int[] nodeIDs)
throws ConfigurationException, NullPointerException, InvalidArgumentException;
|
