public class MStopWatch extends MJmx
MStopWatch class.
jmxFixName, jmxName, jmxPackage, jmxType| Constructor and Description |
|---|
MStopWatch()
Constructor for MStopWatch.
|
MStopWatch(String name)
Constructor for MStopWatch.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getCurrentMinutes()
getCurrentMinutes.
|
String |
getCurrentMinutesAsString()
getCurrentMinutesAsString.
|
long |
getCurrentSeconds()
getCurrentSeconds.
|
long |
getCurrentTime()
getCurrentTime.
|
String |
getCurrentTimeAsString()
getCurrentTimeAsString.
|
String |
getCurrentTimeAsString(boolean longFormat)
getCurrentTimeAsString.
|
String |
getName()
Getter for the field
name. |
int |
getStatus()
getStatus.
|
String |
getStatusAsString()
getStatusAsString.
|
boolean |
isRunning()
isRunning.
|
MStopWatch |
reset()
reset.
|
MStopWatch |
start()
start.
|
MStopWatch |
stop()
stop.
|
String |
toString() |
jmxRegistercreateJmxObjectName, getJmxName, getJmxObjectName, getJmxPackage, getJmxType, isJmxFixName, isJmxRegistered, setJmxName, setJmxPackage, setJmxProxy, setJmxRegisteredbase, base, createBase, forkBase, installBase, isBase, leaveBasepublic MStopWatch start()
start.
MStopWatch object.public MStopWatch stop()
stop.
MStopWatch object.public long getCurrentTime()
getCurrentTime.
public MStopWatch reset()
reset.
MStopWatch object.public int getStatus()
getStatus.
public boolean isRunning()
isRunning.
public long getCurrentSeconds()
getCurrentSeconds.
public long getCurrentMinutes()
getCurrentMinutes.
public String getCurrentMinutesAsString()
getCurrentMinutesAsString.
String object.public String getCurrentTimeAsString()
getCurrentTimeAsString.
String object.public String getCurrentTimeAsString(boolean longFormat)
getCurrentTimeAsString.
longFormat - a boolean.String object.Copyright © 2016. All Rights Reserved.