public abstract class GSampler extends Object implements Runnable
| Constructor and Description |
|---|
GSampler(int initialDelay,
int delay,
String process)
Creates a GSampler
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDelay()
Returns the sample interval
|
int |
getInitialDelay()
Returns the initial delay before sampling begins
|
Publisher |
getPublisher() |
void |
setPublisher(Publisher publisher) |
protected String process
public GSampler(int initialDelay,
int delay,
String process)
delay - the sample interval in secondsprocess - the process name that is appended to metricspublic int getDelay()
public int getInitialDelay()
public Publisher getPublisher()
public void setPublisher(Publisher publisher)
Copyright © 2014. All rights reserved.