public class PlatformAtomicSequence extends PlatformAbstractTarget
FALSE, log, platformCtx, TRUE| Constructor and Description |
|---|
PlatformAtomicSequence(PlatformContext ctx,
IgniteAtomicSequence atomicSeq)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
addAndGet(long l)
Adds a value.
|
void |
close()
Removes this atomic.
|
long |
get()
Reads the value.
|
long |
getAndAdd(long l)
Adds a value.
|
long |
getAndIncrement()
Reads and increments the value.
|
int |
getBatchSize()
Gets the batch size.
|
long |
incrementAndGet()
Increments and reads the value.
|
boolean |
isClosed()
Gets status of atomic.
|
void |
setBatchSize(int size)
Sets the batch size.
|
convertException, currentFuture, futureWriter, inObjectStreamOutStream, inStreamOutLong, inStreamOutObject, inStreamOutStream, listenFuture, listenFutureAndGet, listenFutureForOperation, listenFutureForOperationAndGet, outLong, outObject, outStream, platformContext, processInObjectStreamOutStream, processInStreamOutLong, processInStreamOutObject, processInStreamOutStream, processOutLong, processOutObject, processOutStream, throwUnsupportedpublic PlatformAtomicSequence(PlatformContext ctx, IgniteAtomicSequence atomicSeq)
ctx - Context.atomicSeq - AtomicSequence to wrap.public long get()
public long incrementAndGet()
public long getAndIncrement()
public long addAndGet(long l)
public long getAndAdd(long l)
public int getBatchSize()
public void setBatchSize(int size)
size - Batch size.public boolean isClosed()
true if atomic was removed from cache, false in other case.public void close()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016