Interface FreeSlotFunction

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface FreeSlotFunction
    A function for freeing slots.
    • Method Detail

      • freeSlot

        void freeSlot​(AllocationID allocationId,
                      @Nullable
                      Throwable cause,
                      long timestamp)
        Frees the slot identified by the given AllocationID.

        If the slot is freed due to exceptional circumstances a Throwable cause should be provided.

        Parameters:
        allocationId - identifies the slot
        cause - reason for why the slot was freed; null during normal operations
        timestamp - when the slot was freed