Class CompletableApplicationEvent<T>
java.lang.Object
org.apache.kafka.clients.consumer.internals.events.ApplicationEvent
org.apache.kafka.clients.consumer.internals.events.CompletableApplicationEvent<T>
- Type Parameters:
T-
- All Implemented Interfaces:
CompletableEvent<T>
- Direct Known Subclasses:
CommitApplicationEvent,FetchCommittedOffsetsApplicationEvent,LeaveOnCloseApplicationEvent,ListOffsetsApplicationEvent,ResetPositionsApplicationEvent,TopicMetadataApplicationEvent,UnsubscribeApplicationEvent,ValidatePositionsApplicationEvent
public abstract class CompletableApplicationEvent<T>
extends ApplicationEvent
implements CompletableEvent<T>
Application event with a result in the form of a future, that can be retrieved within a
timeout based on completion.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.kafka.clients.consumer.internals.events.ApplicationEvent
ApplicationEvent.Type -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.kafka.clients.consumer.internals.events.ApplicationEvent
type
-
Constructor Details
-
CompletableApplicationEvent
-
-
Method Details
-
future
- Specified by:
futurein interfaceCompletableEvent<T>
-
get
-
chain
-
equals
- Overrides:
equalsin classApplicationEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classApplicationEvent
-
toStringBase
- Overrides:
toStringBasein classApplicationEvent
-
toString
- Overrides:
toStringin classApplicationEvent
-