Interface IntResourceRequestorInterface<T extends Number & Comparable<T>>

    • Method Detail

      • receiveRequestedResource

        void receiveRequestedResource​(long requestedCapacity,
                                      IntResource<T> resource)
                               throws RemoteException
        receive the requested resource.
        Parameters:
        requestedCapacity - long; reflects the amount requested.
        resource - IntResource<T>; the requested resource.
        Throws:
        RemoteException - on network failure.
      • receiveRequestedResource

        default void receiveRequestedResource​(int requestedCapacity,
                                              IntResource<T> resource)
                                       throws RemoteException
        receive the requested resource.
        Parameters:
        requestedCapacity - int; reflects the amount requested.
        resource - IntResource<T>; the requested resource.
        Throws:
        RemoteException - on network failure.