public class MemoryPrinter extends DataPrinter
| Modifier and Type | Field and Description |
|---|---|
protected static int |
INITIAL_THREAD_SUPPORT_SIZE |
protected java.util.ArrayList<DataItem> |
samples |
component, frequency, property, reportRate, samp, widgetinfo| Constructor and Description |
|---|
MemoryPrinter(SamplingSystemGUI ssg) |
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<DataItem> |
getSamples() |
void |
postProcessing()
In memory printer postProcesing do nothing with sampled data stored,
they will be destroyed in object destruction.
|
void |
setComponent(java.lang.String component) |
void |
setComponentAvailable(boolean available,
java.lang.String reason)
Allows to handle whether a component is or isn't available to be sampled.
|
void |
setProperty(java.lang.String property) |
void |
updateValue(DataItem item) |
finalize, getComponent, getFrequency, getProperty, getReportRate, getSamplingWidget, getSerializableProperty, getWidget, isComponentAvailable, isStopped, pauseSampling, setFrequency, setReportRate, startSample, stopSamplingcomponentExists, deleteSample, hashPrint, propertyExists, spinUp, startSample, stopSample, tearDownprotected java.util.ArrayList<DataItem> samples
protected static final int INITIAL_THREAD_SUPPORT_SIZE
public MemoryPrinter(SamplingSystemGUI ssg)
public void updateValue(DataItem item)
updateValue in class DataPrinterpublic void postProcessing()
postProcessing in class DataPrinterSamplerpublic void setComponent(java.lang.String component)
setComponent in class DataPrinterpublic void setProperty(java.lang.String property)
setProperty in class DataPrinterpublic java.util.ArrayList<DataItem> getSamples()
getSamples in class DataPrinterpublic void setComponentAvailable(boolean available,
java.lang.String reason)
DataPrintersetComponentAvailable in class DataPrinteravailable - True if the component is currently available.reason - A explanation of the cause why the component isn't available.