public class AProcSelfStatMeasurer extends Object implements AScalarMeasurer
AScalarMeasurer.EvaluatedValue| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_MEMENTO |
static String |
KEY_SELF_KERNEL |
static String |
KEY_SELF_USER |
static com.ajjpj.afoundation.io.AFile |
PROC_SELF_STAT_FILE |
KEY_CONFIGURATION_ACTIVE, KEY_CONFIGURATION_HIGH, KEY_CONFIGURATION_MEDIUM| Constructor and Description |
|---|
AProcSelfStatMeasurer() |
| Modifier and Type | Method and Description |
|---|---|
void |
contributeMeasurements(Map<String,AScalarDataPoint> data,
long timestamp,
Map<String,Object> mementos) |
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, waitgetConfigurationParameters, getDescriptionOfMeasurement, getGroupnameOfMeasurement, isResponsibleForMeasurementpublic static final com.ajjpj.afoundation.io.AFile PROC_SELF_STAT_FILE
public static final String KEY_MEMENTO
public static final String KEY_SELF_USER
public static final String KEY_SELF_KERNEL
public void prepareMeasurements(Map<String,Object> mementos) throws Exception
prepareMeasurements in interface AScalarMeasurerExceptionpublic void contributeMeasurements(Map<String,AScalarDataPoint> data, long timestamp, Map<String,Object> mementos) throws Exception
contributeMeasurements in interface AScalarMeasurerExceptionpublic void shutdown()
throws Exception
shutdown in interface AShutdownableExceptionpublic com.ajjpj.afoundation.collection.immutable.AOption<Long> getTimeoutInMilliSeconds()
getTimeoutInMilliSeconds in interface AScalarMeasurerCopyright © 2016. All rights reserved.