Interface GridCacheSemaphoreEx

    • Method Detail

      • onUpdate

        void onUpdate​(GridCacheSemaphoreState val)
        Callback to notify semaphore on changes.
        Parameters:
        val - State containing the number of available permissions.
      • onNodeRemoved

        void onNodeRemoved​(UUID nodeId)
        Callback to notify semaphore on topology changes.
        Parameters:
        nodeId - Id of the node that left the grid.
      • stop

        void stop()
        Callback to notify local semaphore instance on node stop.