public static class RecoveryState.Timer extends Object implements Streamable
Modifier and Type | Field and Description |
---|---|
protected long |
startTime |
protected long |
stopTime |
protected long |
time |
Constructor and Description |
---|
Timer() |
Modifier and Type | Method and Description |
---|---|
void |
readFrom(StreamInput in) |
void |
reset() |
void |
start() |
long |
startTime() |
void |
stop() |
long |
stopTime() |
long |
time() |
void |
writeTo(StreamOutput out) |
protected long startTime
protected long time
protected long stopTime
public void start()
public long startTime()
public long time()
public long stopTime()
public void stop()
public void reset()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
Copyright © 2009–2015. All rights reserved.