public static <M> Trigger<M> any(Trigger<M>... triggers) {
    List<Trigger<M>> triggerList = new ArrayList<>();
    for (Trigger trigger : triggers) {
      triggerList.add(trigger);
    }
    return new AnyTrigger<M>(Collections.unmodifiableList(triggerList));
  }
Creates a trigger that fires when any of the provided triggers fire.

@param triggers the individual triggers
@param <M> the type of input message in the window
@return the created trigger
samza-api/src/main/java/org/apache/samza/operators/triggers/Triggers.java