public final class MeasureRecorder
extends java.lang.Object
implements java.lang.Runnable
| Constructor and Description |
|---|
MeasureRecorder(MetricSourceItem source)
This is the client of JMXMonitoring server
|
| Modifier and Type | Method and Description |
|---|---|
void |
check() |
void |
closeConnection()
Closing this client connection
|
MetricSourceItem |
getSource() |
boolean |
isAlive() |
void |
join(long milliseconds) |
boolean |
match(MetricSourceItem currentSource) |
void |
process()
recording into MatrixData
|
void |
run() |
void |
schedule(long recorderDelay) |
void |
setWeekDayToPrune(int weekDayToPrune)
Set the day of the week to prune.
|
public MeasureRecorder(MetricSourceItem source) throws java.lang.Exception
source - the source of the measure.java.lang.Exception - a serious problempublic void run()
run in interface java.lang.Runnablepublic boolean isAlive()
public void join(long milliseconds)
throws java.lang.InterruptedException
milliseconds - java.lang.InterruptedExceptionpublic void check()
throws java.lang.Exception
java.lang.Exception - a serious problem.public void schedule(long recorderDelay)
recorderDelay - public MetricSourceItem getSource()
public boolean match(MetricSourceItem currentSource)
currentSource - public void process()
throws java.lang.Exception
java.lang.Exception - a serious problempublic void closeConnection()
throws java.lang.Exception
java.lang.Exception - a serious problempublic void setWeekDayToPrune(int weekDayToPrune)
weekDayToPrune - stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.