public class ThreadingMeasurer extends Object implements AScalarMeasurer
AScalarMeasurer.EvaluatedValueKEY_CONFIGURATION_ACTIVE, KEY_CONFIGURATION_HIGH, KEY_CONFIGURATION_MEDIUM| Constructor and Description |
|---|
ThreadingMeasurer() |
| Modifier and Type | Method and Description |
|---|---|
void |
contributeMeasurements(Map<String,AScalarDataPoint> data,
long timestamp,
Map<String,Object> mementos) |
List<String> |
getConfigurationParameters() |
String |
getDescriptionOfMeasurement(String measurement) |
String |
getGroupnameOfMeasurement(String measurement) |
com.ajjpj.afoundation.collection.immutable.AOption<Long> |
getTimeoutInMilliSeconds() |
void |
prepareMeasurements(Map<String,Object> mementos) |
void |
shutdown() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisResponsibleForMeasurementpublic void prepareMeasurements(Map<String,Object> mementos) throws IOException
prepareMeasurements in interface AScalarMeasurerIOExceptionpublic void contributeMeasurements(Map<String,AScalarDataPoint> data, long timestamp, Map<String,Object> mementos) throws IOException
contributeMeasurements in interface AScalarMeasurerIOExceptionpublic void shutdown()
throws Exception
shutdown in interface AShutdownableExceptionpublic com.ajjpj.afoundation.collection.immutable.AOption<Long> getTimeoutInMilliSeconds()
getTimeoutInMilliSeconds in interface AScalarMeasurerpublic String getGroupnameOfMeasurement(String measurement)
getGroupnameOfMeasurement in interface AScalarMeasurerpublic String getDescriptionOfMeasurement(String measurement)
getDescriptionOfMeasurement in interface AScalarMeasurerpublic List<String> getConfigurationParameters()
getConfigurationParameters in interface AScalarMeasurerCopyright © 2017. All rights reserved.