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_PRIMARY_PARTITIONS |
FALSE, log, platformCtx, TRUE| Constructor and Description |
|---|
PlatformAffinity(PlatformContext platformCtx,
GridKernalContext igniteCtx,
String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
partitions() |
protected long |
processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
protected void |
processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
convertException, currentFuture, futureWriter, inObjectStreamOutStream, inStreamOutLong, inStreamOutObject, inStreamOutStream, listenFuture, listenFutureAndGet, listenFutureForOperation, listenFutureForOperationAndGet, outLong, outObject, outStream, platformContext, processInObjectStreamOutStream, processInStreamOutObject, processOutLong, processOutObject, processOutStream, throwUnsupportedpublic 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 PlatformAffinity(PlatformContext platformCtx, GridKernalContext igniteCtx, @Nullable String name) throws IgniteCheckedException
platformCtx - Context.igniteCtx - Ignite context.name - Cache name.IgniteCheckedExceptionprotected long processInStreamOutLong(int type,
BinaryRawReaderEx reader)
throws IgniteCheckedException
processInStreamOutLong in class PlatformAbstractTargettype - Type.reader - Binary reader.IgniteCheckedException - In case of exception.protected void processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
throws IgniteCheckedException
processInStreamOutStream in class PlatformAbstractTargettype - Type.reader - Binary reader.writer - Binary writer.IgniteCheckedException - In case of exception.public int partitions()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.7.0 Release Date : August 1 2016