public class PlatformAffinity extends PlatformAbstractTarget
Modifier and Type | Field and Description |
---|---|
static int |
OP_AFFINITY_KEY |
static int |
OP_ALL_PARTITIONS |
static int |
OP_BACKUP_PARTITIONS |
static int |
OP_IS_BACKUP |
static int |
OP_IS_PRIMARY |
static int |
OP_IS_PRIMARY_OR_BACKUP |
static int |
OP_MAP_KEY_TO_NODE |
static int |
OP_MAP_KEY_TO_PRIMARY_AND_BACKUPS |
static int |
OP_MAP_KEYS_TO_NODES |
static int |
OP_MAP_PARTITION_TO_NODE |
static int |
OP_MAP_PARTITION_TO_PRIMARY_AND_BACKUPS |
static int |
OP_MAP_PARTITIONS_TO_NODES |
static int |
OP_PARTITION |
static int |
OP_PARTITIONS |
static int |
OP_PRIMARY_PARTITIONS |
ERROR, FALSE, log, platformCtx, TRUE
Constructor and Description |
---|
PlatformAffinity(PlatformContext platformCtx,
@Nullable String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
void |
processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
convertException, platformContext, processInObjectStreamOutObjectStream, processInStreamAsync, processInStreamOutLong, processInStreamOutObject, processOutObject, processOutStream, readAndListenFuture, readAndListenFuture, readAndListenFuture, throwUnsupported, wrapListenable
public static final int OP_AFFINITY_KEY
public static final int OP_ALL_PARTITIONS
public static final int OP_BACKUP_PARTITIONS
public static final int OP_IS_BACKUP
public static final int OP_IS_PRIMARY
public static final int OP_IS_PRIMARY_OR_BACKUP
public static final int OP_MAP_KEY_TO_NODE
public static final int OP_MAP_KEY_TO_PRIMARY_AND_BACKUPS
public static final int OP_MAP_KEYS_TO_NODES
public static final int OP_MAP_PARTITION_TO_NODE
public static final int OP_MAP_PARTITION_TO_PRIMARY_AND_BACKUPS
public static final int OP_MAP_PARTITIONS_TO_NODES
public static final int OP_PARTITION
public static final int OP_PRIMARY_PARTITIONS
public static final int OP_PARTITIONS
public PlatformAffinity(PlatformContext platformCtx, @Nullable @Nullable String name) throws IgniteCheckedException
platformCtx
- Context.name
- Cache name.IgniteCheckedException
public long processInStreamOutLong(int type, BinaryRawReaderEx reader) throws IgniteCheckedException
processInStreamOutLong
in interface PlatformTarget
processInStreamOutLong
in class PlatformAbstractTarget
type
- Type.reader
- Binary reader.IgniteCheckedException
- In case of exception.public void processInStreamOutStream(int type, BinaryRawReaderEx reader, BinaryRawWriterEx writer) throws IgniteCheckedException
processInStreamOutStream
in interface PlatformTarget
processInStreamOutStream
in class PlatformAbstractTarget
type
- Type.reader
- Binary reader.writer
- Binary writer.IgniteCheckedException
- In case of exception.public long processInLongOutLong(int type, long val) throws IgniteCheckedException
processInLongOutLong
in interface PlatformTarget
processInLongOutLong
in class PlatformAbstractTarget
type
- Type.val
- Value.IgniteCheckedException
- In case of exception.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021