public interface CheckpointIDCounter
| Modifier and Type | Method and Description |
|---|---|
long |
getAndIncrement()
Atomically increments the current checkpoint ID.
|
void |
setCount(long newId)
Sets the current checkpoint ID.
|
void |
start()
Starts the
CheckpointIDCounter service. |
void |
stop()
Stops the
CheckpointIDCounter service. |
void start()
throws Exception
CheckpointIDCounter service.Exceptionvoid stop() throws Exception
CheckpointIDCounter service.Exceptionlong getAndIncrement()
throws Exception
ExceptionCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.