H
- the handler type to process the result of the poll.@FunctionalInterface public interface PollableSource<H>
Modifier and Type | Method and Description |
---|---|
boolean |
poll(H handler)
Poll the consumer.
|
default boolean |
poll(H handler,
org.springframework.core.ParameterizedTypeReference<?> type)
Poll the consumer and convert the payload to the type.
|
boolean poll(H handler)
handler
- the handler.default boolean poll(H handler, org.springframework.core.ParameterizedTypeReference<?> type)
handler
- the handler.type
- the type.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.