public interface NSysMonApi
| Modifier and Type | Method and Description |
|---|---|
void |
addTimedScalarMeasurement(AScalarDataPoint... dataPoint) |
NSysMonConfig |
getConfig() |
List<AEnvironmentData> |
getEnvironmentMeasurements() |
Map<String,AScalarDataPoint> |
getScalarMeasurements() |
Map<String,AScalarDataPoint> |
getScalarMeasurements(int averagingDelayForScalarsMillis) |
com.ajjpj.afoundation.collection.immutable.AList<RobustScalarMeasurerWrapper> |
getTimedScalarForDirectAccess() |
Map<String,com.ajjpj.afoundation.collection.mutable.ARingBuffer<AScalarDataPoint>> |
getTimedScalarMeasurements() |
Map<String,com.ajjpj.afoundation.collection.mutable.ARingBuffer<AScalarDataPoint>> |
getTimedScalarMeasurementsForMonitoring() |
boolean |
hasRunningMeasurement()
returns true iff a simple measurement is currently running for this thread
|
void |
injectSyntheticMeasurement(AHierarchicalDataRoot d)
This is for the rare case that measurement data was collected by other means and should be 'injected'
into N-SysMon.
|
void |
joinFlow(ACorrelationId flowId) |
<R,E extends Exception> |
measure(String identifier,
AMeasureCallback<R,E> callback) |
<E extends Exception> |
measure(String identifier,
AMeasureCallbackVoid<E> callback) |
ASimpleMeasurement |
start(String identifier) |
ASimpleMeasurement |
start(String identifier,
boolean serial) |
ACollectingMeasurement |
startCollectingMeasurement(String identifier) |
ACollectingMeasurement |
startCollectingMeasurement(String identifier,
boolean serial) |
void |
startFlow(ACorrelationId flowId)
This tells N-SysMon that the currently running measurement starts a new 'flow'.
|
NSysMonConfig getConfig()
<E extends Exception> void measure(String identifier, AMeasureCallbackVoid<E> callback) throws E extends Exception
E extends Exception<R,E extends Exception> R measure(String identifier, AMeasureCallback<R,E> callback) throws E extends Exception
E extends Exceptionvoid startFlow(ACorrelationId flowId)
It is an invalid to call this method without a surrounding measurement, and doing so throws an exception.
void joinFlow(ACorrelationId flowId)
ASimpleMeasurement start(String identifier)
ASimpleMeasurement start(String identifier, boolean serial)
boolean hasRunningMeasurement()
void injectSyntheticMeasurement(AHierarchicalDataRoot d)
ACollectingMeasurement startCollectingMeasurement(String identifier)
ACollectingMeasurement startCollectingMeasurement(String identifier, boolean serial)
Map<String,AScalarDataPoint> getScalarMeasurements()
Map<String,AScalarDataPoint> getScalarMeasurements(int averagingDelayForScalarsMillis)
List<AEnvironmentData> getEnvironmentMeasurements() throws Exception
Exceptioncom.ajjpj.afoundation.collection.immutable.AList<RobustScalarMeasurerWrapper> getTimedScalarForDirectAccess()
Map<String,com.ajjpj.afoundation.collection.mutable.ARingBuffer<AScalarDataPoint>> getTimedScalarMeasurements()
Map<String,com.ajjpj.afoundation.collection.mutable.ARingBuffer<AScalarDataPoint>> getTimedScalarMeasurementsForMonitoring()
void addTimedScalarMeasurement(AScalarDataPoint... dataPoint)
Copyright © 2017. All rights reserved.