Package | Description |
---|---|
org.spf4j.annotations | |
org.spf4j.perf | |
org.spf4j.perf.impl | |
org.spf4j.perf.io |
Modifier and Type | Field and Description |
---|---|
static MeasurementRecorderSource |
RecorderSourceInstance.RsNop.INSTANCE |
static MeasurementRecorderSource |
RecorderSourceInstance.Rs5m.INSTANCE |
static MeasurementRecorderSource |
RecorderSourceInstance.Rs1m.INSTANCE |
static MeasurementRecorderSource |
RecorderSourceInstance.Rs15m.INSTANCE |
static MeasurementRecorderSource |
RecorderSourceInstance.Rs1h.INSTANCE |
Modifier and Type | Interface and Description |
---|---|
interface |
CloseableMeasurementRecorderSource |
Modifier and Type | Method and Description |
---|---|
static <T> T |
PerformanceMonitor.callAndMonitor(MeasurementRecorderSource mrs,
long warnMillis,
long errorMillis,
Callable<T> callable) |
static <T> T |
PerformanceMonitor.callAndMonitor(MeasurementRecorderSource mrs,
long warnMillis,
long errorMillis,
Callable<T> callable,
boolean isLogInfo,
Object... detail) |
static <T> Callable<T> |
PerformanceMonitor.performanceMonitoredCallable(MeasurementRecorderSource mrs,
long warnMillis,
long errorMillis,
Callable<T> callable) |
static <T> Callable<T> |
PerformanceMonitor.performanceMonitoredCallable(MeasurementRecorderSource mrs,
long warnMillis,
long errorMillis,
Callable<T> callable,
boolean isLogInfo,
Object... detail) |
Modifier and Type | Class and Description |
---|---|
class |
DirectRecorderSource |
class |
NopMeasurementRecorderSource |
class |
ScalableMeasurementRecorderSource |
Modifier and Type | Method and Description |
---|---|
static MeasurementRecorderSource |
RecorderFactory.createDirectRecorderSource(Object forWhat,
String unitOfMeasurement) |
static MeasurementRecorderSource |
RecorderFactory.createScalableCountingRecorderSource(Object forWhat,
String unitOfMeasurement,
int sampleTimeMillis) |
static MeasurementRecorderSource |
RecorderFactory.createScalableMinMaxAvgRecorderSource(Object forWhat,
String unitOfMeasurement,
int sampleTimeMillis) |
static MeasurementRecorderSource |
RecorderFactory.createScalableQuantizedRecorderSource(Object forWhat,
String unitOfMeasurement,
int sampleTimeMillis,
int factor,
int lowerMagnitude,
int higherMagnitude,
int quantasPerMagnitude) |
Constructor and Description |
---|
MeasuredInputStream(InputStream is,
String from,
MeasurementRecorderSource recorderSource) |
MeasuredOutputStream(OutputStream os,
String from,
MeasurementRecorderSource recorderSource) |
Copyright © 2018 SPF4J. All rights reserved.