Interface Processor<T extends Event>
-
- Type Parameters:
T- Type that is going to be processed
- All Known Implementing Classes:
CheckFlagFileProcessor,CheckFlagGeoJsonProcessor,CheckFlagTippecanoeProcessor,FileProcessor,MetricFileGenerator
@Deprecated public interface Processor<T extends Event>Deprecated.- useProcessorTheProcessorinterface provides simple hooks for implementations to handle events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidprocess(ShutdownEvent event)Deprecated.Method to processShutdownEvent.voidprocess(T event)Deprecated.Method to processEvent.
-
-
-
Method Detail
-
process
void process(ShutdownEvent event)
Deprecated.Method to processShutdownEvent. This method will be called only once.
Please make sure to add@Subscribeannotation to the method that is implementing this method.- Parameters:
event-ShutdownEventto process
-
process
void process(T event)
Deprecated.Method to processEvent. If your method can process multiple events simultaneously, then mark your method with@AllowConcurrentEventsannotation.Please make sure to add@Subscribeannotation to the method that is implementing this method.- Parameters:
event-Eventto process
-
-