Constructor and Description |
---|
RateProfiler(long windowMs) |
Modifier and Type | Method and Description |
---|---|
void |
appendAbsoluteValue(double value)
Sets an absolute value for this profiler.
|
void |
appendRelativeChange(double value)
Updates the current value for this profiler.
|
org.jdom.Element |
getProfilerInfo()
Returns an XML snippet that is added to the overall profiler information
for this service.
|
void |
terminate()
Terminates the timer thread used by this profiler.
|
public void appendAbsoluteValue(double value)
public void appendRelativeChange(double value)
value
- The relative change to record.public org.jdom.Element getProfilerInfo()
Profiler
getProfilerInfo
in interface Profiler
© 2010 - 2018 Calgary Scientific Inc. All Rights Reserved.
This documentation shall not wholly or in part, in any form or by any means, electronic, mechanical, including photocopying, be reproduced or transmitted without the authorized, written consent of Calgary Scientific.