public interface Reschedulable<T>
ReschedulingSink
Modifier and Type | Method and Description |
---|---|
java.util.Optional<Schedule<T>> |
consume(CountedSchedule current,
T data)
Consumes the output of the channel this instance is bound to.
|
java.util.Optional<Schedule<T>> consume(CountedSchedule current, T data)
current
- information about this invocation's schedule.data
- the data received from the channel.null
.