Interface ControllerEvent
-
- All Known Implementing Classes:
AbortEvent,AutoScaleEvent,CommitEvent,CreateReaderGroupEvent,CreateTableEvent,DeleteReaderGroupEvent,DeleteStreamEvent,DeleteTableEvent,ScaleOpEvent,SealStreamEvent,TruncateStreamEvent,UpdateReaderGroupEvent,UpdateStreamEvent
public interface ControllerEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetKey()Method to get routing key for the event.java.util.concurrent.CompletableFuture<java.lang.Void>process(RequestProcessor processor)
-
-
-
Method Detail
-
getKey
java.lang.String getKey()
Method to get routing key for the event.- Returns:
- return the routing key that should be used.
-
process
java.util.concurrent.CompletableFuture<java.lang.Void> process(RequestProcessor processor)
-
-