public class GridJobProcessor.PartitionsReservation extends Object implements GridReservable
| Constructor and Description |
|---|
PartitionsReservation(int[] cacheIds,
int partId,
AffinityTopologyVersion topVer) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getCacheIds() |
int |
getPartId() |
void |
release()
Releases.
|
boolean |
reserve()
Reserves.
|
public PartitionsReservation(int[] cacheIds,
int partId,
AffinityTopologyVersion topVer)
cacheIds - Cache identifiers array.partId - Partition number.topVer - Affinity topology version.public int[] getCacheIds()
public int getPartId()
public boolean reserve()
reserve in interface GridReservabletrue If reserved successfully.public void release()
release in interface GridReservable
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021