Class GridJobProcessor.PartitionsReservation

    • Constructor Detail

      • PartitionsReservation

        public PartitionsReservation​(int[] cacheIds,
                                     int partId,
                                     AffinityTopologyVersion topVer)
        Parameters:
        cacheIds - Cache identifiers array.
        partId - Partition number.
        topVer - Affinity topology version.
    • Method Detail

      • getCacheIds

        public int[] getCacheIds()
        Returns:
        Caches identifiers.
      • getPartId

        public int getPartId()
        Returns:
        Partition id.
      • reserve

        public boolean reserve()
        Reserves.
        Specified by:
        reserve in interface GridReservable
        Returns:
        true If reserved successfully.