Toggle navigation
Home
io.atomix.event.EventListener to java.util.function.Consumer
No. of Instances - 8
No. of Commits - 1
No. of Projects - {'atomix'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Jdk
Mapping:
Cascading Type Change (Similar)
EventListener<E>
to
Consumer<RaftEvent>
Add or Remove Method invocation
executor.execute(() -> listener.onEvent(event))
to
executor.execute(() -> listener.accept(e))
Rename Method invocation
removeEventListener
to
removeListener
addEventListener
to
addListener