public interface Counter
Modifier and Type | Method and Description |
---|---|
void |
addAndGet(long value,
Handler<AsyncResult<Long>> resultHandler) |
void |
compareAndSet(long expected,
long value,
Handler<AsyncResult<Boolean>> resultHandler) |
void |
decrementAndGet(Handler<AsyncResult<Long>> resultHandler) |
void |
get(Handler<AsyncResult<Long>> resultHandler) |
void |
getAndAdd(long value,
Handler<AsyncResult<Long>> resultHandler) |
void |
getAndIncrement(Handler<AsyncResult<Long>> resultHandler) |
void |
incrementAndGet(Handler<AsyncResult<Long>> resultHandler) |
void get(Handler<AsyncResult<Long>> resultHandler)
void incrementAndGet(Handler<AsyncResult<Long>> resultHandler)
void getAndIncrement(Handler<AsyncResult<Long>> resultHandler)
void decrementAndGet(Handler<AsyncResult<Long>> resultHandler)
void addAndGet(long value, Handler<AsyncResult<Long>> resultHandler)
void getAndAdd(long value, Handler<AsyncResult<Long>> resultHandler)
void compareAndSet(long expected, long value, Handler<AsyncResult<Boolean>> resultHandler)
Copyright © 2014. All Rights Reserved.