public class ElapsedTime
extends java.lang.Object
Constructor and Description |
---|
ElapsedTime()
Creates new
ElapsedTime instance. |
Modifier and Type | Method and Description |
---|---|
long |
getElapsedTimeSinceCreation()
Returns the elapsed time since creation
|
long |
getHeapMaxChangeSinceCreation()
Returns the maximum heap size since creation.
|
long |
getHeapUsedChangeSinceCreation()
Returns the heap used since creation.
|
java.lang.management.MemoryUsage |
getStartHeap()
Returns the creation Heap
|
long |
getStartTimeInMillis()
Returns the creation start time
|
java.lang.String |
toString() |
public ElapsedTime()
ElapsedTime
instance.public java.lang.String toString()
toString
in class java.lang.Object
public long getElapsedTimeSinceCreation()
public long getStartTimeInMillis()
public java.lang.management.MemoryUsage getStartHeap()
public long getHeapMaxChangeSinceCreation()
public long getHeapUsedChangeSinceCreation()
Copyright © OpenCloud. All Rights Reserved.