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.Exception
void stop() throws Exception
CheckpointIDCounter
service.Exception
long getAndIncrement() throws Exception
Exception
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.