public class PlatformAffinityUtils extends Object
| Constructor and Description |
|---|
PlatformAffinityUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<List<ClusterNode>> |
readPartitionAssignment(BinaryRawReader reader,
PlatformContext ctx)
Reads the partition assignment.
|
static void |
writeAffinityFunctionContext(AffinityFunctionContext affCtx,
BinaryRawWriterEx writer,
PlatformContext ctx)
Writes the affinity function context.
|
static void |
writePartitionAssignment(Collection<List<ClusterNode>> partitions,
BinaryRawWriterEx writer,
PlatformContext ctx)
Writes the partition assignment to a stream.
|
public static void writeAffinityFunctionContext(AffinityFunctionContext affCtx, BinaryRawWriterEx writer, PlatformContext ctx)
affCtx - Affinity context.writer - Writer.ctx - Platform context.public static void writePartitionAssignment(Collection<List<ClusterNode>> partitions, BinaryRawWriterEx writer, PlatformContext ctx)
partitions - Partitions.writer - Writer.@NotNull public static List<List<ClusterNode>> readPartitionAssignment(BinaryRawReader reader, PlatformContext ctx)
reader - Reader.ctx - Platform context.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017