public interface ThrottlingMXBean
Modifier and Type | Method and Description |
---|---|
void |
disable()
disable throttling for the associated object.
|
void |
enable()
enable throttling for the associated object.
|
int |
getMaxRequests() |
long |
getTimePeriod() |
boolean |
isEnabled() |
void |
setMaxRequests(int maxRequests) |
boolean isEnabled()
void enable()
void disable()
int getMaxRequests()
void setMaxRequests(int maxRequests)
maxRequests
- the maximumn number of requests per time period.long getTimePeriod()
Copyright © 2013–2017 JBoss by Red Hat. All rights reserved.