Class PlatformAtomicLong
- java.lang.Object
-
- org.apache.ignite.internal.processors.platform.PlatformAbstractTarget
-
- org.apache.ignite.internal.processors.platform.datastructures.PlatformAtomicLong
-
- All Implemented Interfaces:
PlatformTarget
public class PlatformAtomicLong extends PlatformAbstractTarget
Platform atomic long wrapper.
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.processors.platform.PlatformAbstractTarget
ERROR, FALSE, log, platformCtx, TRUE
-
-
Constructor Summary
Constructors Constructor Description PlatformAtomicLong(PlatformContext ctx, GridCacheAtomicLongImpl atomicLong)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longprocessInLongOutLong(int type, long val)Process IN operation.longprocessInStreamOutLong(int type, BinaryRawReaderEx reader)Process IN operation.-
Methods inherited from class org.apache.ignite.internal.processors.platform.PlatformAbstractTarget
convertException, platformContext, processInObjectStreamOutObjectStream, processInStreamAsync, processInStreamOutLong, processInStreamOutObject, processInStreamOutStream, processOutObject, processOutStream, readAndListenFuture, readAndListenFuture, readAndListenFuture, throwUnsupported, wrapListenable
-
-
-
-
Constructor Detail
-
PlatformAtomicLong
public PlatformAtomicLong(PlatformContext ctx, GridCacheAtomicLongImpl atomicLong)
Ctor.- Parameters:
ctx- Context.atomicLong- AtomicLong to wrap.
-
-
Method Detail
-
processInStreamOutLong
public long processInStreamOutLong(int type, BinaryRawReaderEx reader) throws IgniteCheckedExceptionProcess IN operation.- Specified by:
processInStreamOutLongin interfacePlatformTarget- Overrides:
processInStreamOutLongin classPlatformAbstractTarget- Parameters:
type- Type.reader- Binary reader.- Returns:
- Result.
- Throws:
IgniteCheckedException- In case of exception.
-
processInLongOutLong
public long processInLongOutLong(int type, long val) throws IgniteCheckedExceptionProcess IN operation.- Specified by:
processInLongOutLongin interfacePlatformTarget- Overrides:
processInLongOutLongin classPlatformAbstractTarget- Parameters:
type- Type.val- Value.- Returns:
- Result.
- Throws:
IgniteCheckedException- In case of exception.
-
-