public class AMemInfoEnvironmentMeasurer extends Object implements AEnvironmentMeasurer
AEnvironmentMeasurer.EnvironmentCollector| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_DETAIL_MEM_TOTAL |
static String |
KEY_MEMINFO |
| Constructor and Description |
|---|
AMemInfoEnvironmentMeasurer() |
| Modifier and Type | Method and Description |
|---|---|
void |
contributeMeasurements(AEnvironmentMeasurer.EnvironmentCollector data) |
Map<String,String> |
read() |
void |
shutdown() |
public static final String KEY_MEMINFO
public static final String KEY_DETAIL_MEM_TOTAL
public void contributeMeasurements(AEnvironmentMeasurer.EnvironmentCollector data) throws Exception
contributeMeasurements in interface AEnvironmentMeasurerdata - is a 'collectiong parameter', i.e. the method adds its own results to the existing collection.Exceptionpublic Map<String,String> read() throws IOException
IOExceptionpublic void shutdown()
throws Exception
shutdown in interface AShutdownableExceptionCopyright © 2016. All rights reserved.