Class LocalQueueAdapter<T>

    • Constructor Detail

      • LocalQueueAdapter

        public LocalQueueAdapter​(Queue<T> queue)
    • Method Detail

      • send

        public boolean send​(Supplier<T> supplier)
        Description copied from interface: ChannelAdapter
        Invoke transfer of data via supported transport protocol.
        Specified by:
        send in interface ChannelAdapter<T>
        Parameters:
        supplier - source of data to transfer
      • receive

        public boolean receive​(Consumer<T> consumer,
                               long timeout,
                               boolean autoExpunge)
        Description copied from interface: ChannelAdapter
        Invoke retrieval of calendar data via supported transport protocol.
        Specified by:
        receive in interface ChannelAdapter<T>
        timeout - maximum duration of data retrieval
        Returns:
        the retrieved calendar data