public class IgniteDhtPartitionHistorySuppliersMap extends Object implements Serializable
| Constructor and Description |
|---|
IgniteDhtPartitionHistorySuppliersMap() |
| Modifier and Type | Method and Description |
|---|---|
static IgniteDhtPartitionHistorySuppliersMap |
empty() |
@Nullable Map<T2<Integer,Integer>,Long> |
getReservations(UUID nodeId) |
@Nullable UUID |
getSupplier(int grpId,
int partId,
long cntrSince) |
boolean |
isEmpty() |
void |
put(UUID nodeId,
int grpId,
int partId,
long cntr) |
void |
putAll(IgniteDhtPartitionHistorySuppliersMap that) |
String |
toString() |
public IgniteDhtPartitionHistorySuppliersMap()
public static IgniteDhtPartitionHistorySuppliersMap empty()
@Nullable public @Nullable UUID getSupplier(int grpId, int partId, long cntrSince)
grpId - Group ID.partId - Partition ID.cntrSince - Partition update counter since history supplying is requested.@Nullable public @Nullable Map<T2<Integer,Integer>,Long> getReservations(UUID nodeId)
nodeId - Node ID to check.public void put(UUID nodeId, int grpId, int partId, long cntr)
nodeId - Node ID.grpId - Cache group ID.partId - Partition ID.cntr - Partition counter.public boolean isEmpty()
True if empty.public void putAll(IgniteDhtPartitionHistorySuppliersMap that)
that - Other map to put.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020