public class JmxPoller extends Object
This class is an internal implementation detail only intended for use by
spectator-agent. It is subject to change without notice.
| Constructor and Description |
|---|
JmxPoller(com.netflix.spectator.api.Registry registry)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
poll()
Poll the JMX data once and update the registry.
|
void |
updateConfigs(List<? extends com.typesafe.config.Config> configs)
Update the set of configs for what to poll.
|
public JmxPoller(com.netflix.spectator.api.Registry registry)
registry - Registry to update when polling the data.public void updateConfigs(List<? extends com.typesafe.config.Config> configs)
public void poll()