protected class ODataContextImpl.RuntimeMeasurementImpl extends Object implements ODataContext.RuntimeMeasurement
| Modifier | Constructor and Description |
|---|---|
protected |
RuntimeMeasurementImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Gets the class name.
|
long |
getMemoryStarted()
Gets the start heap memory used.
|
long |
getMemoryStopped()
Gets the stop heap memory used.
|
String |
getMethodName()
Gets the method name.
|
long |
getTimeStarted()
Gets the start time.
|
long |
getTimeStopped()
Gets the stop time.
|
void |
setClassName(String className)
Sets the class name.
|
void |
setMemoryStarted(long used)
Sets the start heap memory used.
|
void |
setMemoryStopped(long used)
Sets the stop heap memory used.
|
void |
setMethodName(String methodName)
Sets the method name.
|
void |
setTimeStarted(long start)
Sets the start time.
|
void |
setTimeStopped(long stop)
Sets the stop time.
|
String |
toString() |
public void setClassName(String className)
ODataContext.RuntimeMeasurementsetClassName in interface ODataContext.RuntimeMeasurementclassName - the name of the class that is measuredpublic String getClassName()
ODataContext.RuntimeMeasurementgetClassName in interface ODataContext.RuntimeMeasurementpublic void setMethodName(String methodName)
ODataContext.RuntimeMeasurementsetMethodName in interface ODataContext.RuntimeMeasurementmethodName - the name of the method that is measuredpublic String getMethodName()
ODataContext.RuntimeMeasurementgetMethodName in interface ODataContext.RuntimeMeasurementpublic void setTimeStarted(long start)
ODataContext.RuntimeMeasurementsetTimeStarted in interface ODataContext.RuntimeMeasurementstart - the start time in nanosecondsSystem.nanoTime()public long getTimeStarted()
ODataContext.RuntimeMeasurementgetTimeStarted in interface ODataContext.RuntimeMeasurementSystem.nanoTime()public void setTimeStopped(long stop)
ODataContext.RuntimeMeasurementsetTimeStopped in interface ODataContext.RuntimeMeasurementstop - the stop time in nanosecondsSystem.nanoTime()public long getTimeStopped()
ODataContext.RuntimeMeasurementgetTimeStopped in interface ODataContext.RuntimeMeasurementSystem.nanoTime()public void setMemoryStarted(long used)
ODataContext.RuntimeMeasurementsetMemoryStarted in interface ODataContext.RuntimeMeasurementused - the start heap memory used in bytesManagementFactorypublic void setMemoryStopped(long used)
ODataContext.RuntimeMeasurementsetMemoryStopped in interface ODataContext.RuntimeMeasurementused - the stop heap memory used in bytesManagementFactorypublic long getMemoryStarted()
ODataContext.RuntimeMeasurementgetMemoryStarted in interface ODataContext.RuntimeMeasurementManagementFactorypublic long getMemoryStopped()
ODataContext.RuntimeMeasurementgetMemoryStopped in interface ODataContext.RuntimeMeasurementManagementFactoryCopyright © 2020. All rights reserved.