Interface AutoScaling.TriggerEventProcessor
-
- Enclosing class:
- AutoScaling
public static interface AutoScaling.TriggerEventProcessor
Implementation of this interface is used for processing events generated by a trigger.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
process(TriggerEvent event)
This method is executed for events produced byRunnable.run()
.
-
-
-
Method Detail
-
process
boolean process(TriggerEvent event)
This method is executed for events produced byRunnable.run()
.- Parameters:
event
- a subclass ofTriggerEvent
- Returns:
- true if the processor was ready to perform actions on the event, false otherwise. If false was returned then callers should assume the event was discarded.
-
-