Package org.apache.olingo.odata2.core
Class ODataContextImpl.RuntimeMeasurementImpl
java.lang.Object
org.apache.olingo.odata2.core.ODataContextImpl.RuntimeMeasurementImpl
- All Implemented Interfaces:
ODataContext.RuntimeMeasurement
- Enclosing class:
ODataContextImpl
protected class ODataContextImpl.RuntimeMeasurementImpl
extends Object
implements ODataContext.RuntimeMeasurement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglongvoidsetClassName(String className) voidsetMemoryStarted(long used) voidsetMemoryStopped(long used) voidsetMethodName(String methodName) voidsetTimeStarted(long start) voidsetTimeStopped(long stop) toString()
-
Constructor Details
-
RuntimeMeasurementImpl
protected RuntimeMeasurementImpl()
-
-
Method Details
-
setClassName
- Specified by:
setClassNamein interfaceODataContext.RuntimeMeasurement
-
getClassName
- Specified by:
getClassNamein interfaceODataContext.RuntimeMeasurement
-
setMethodName
- Specified by:
setMethodNamein interfaceODataContext.RuntimeMeasurement
-
getMethodName
- Specified by:
getMethodNamein interfaceODataContext.RuntimeMeasurement
-
setTimeStarted
public void setTimeStarted(long start) - Specified by:
setTimeStartedin interfaceODataContext.RuntimeMeasurement
-
getTimeStarted
public long getTimeStarted()- Specified by:
getTimeStartedin interfaceODataContext.RuntimeMeasurement
-
setTimeStopped
public void setTimeStopped(long stop) - Specified by:
setTimeStoppedin interfaceODataContext.RuntimeMeasurement
-
getTimeStopped
public long getTimeStopped()- Specified by:
getTimeStoppedin interfaceODataContext.RuntimeMeasurement
-
toString
-
setMemoryStarted
public void setMemoryStarted(long used) - Specified by:
setMemoryStartedin interfaceODataContext.RuntimeMeasurement
-
setMemoryStopped
public void setMemoryStopped(long used) - Specified by:
setMemoryStoppedin interfaceODataContext.RuntimeMeasurement
-
getMemoryStarted
public long getMemoryStarted()- Specified by:
getMemoryStartedin interfaceODataContext.RuntimeMeasurement
-
getMemoryStopped
public long getMemoryStopped()- Specified by:
getMemoryStoppedin interfaceODataContext.RuntimeMeasurement
-