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 Detail

      • process

        boolean process​(TriggerEvent event)
        This method is executed for events produced by Runnable.run().
        Parameters:
        event - a subclass of TriggerEvent
        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.