Class ClusterAlertingExample

  • All Implemented Interfaces:
    org.apache.iotdb.trigger.api.Trigger

    public class ClusterAlertingExample
    extends java.lang.Object
    implements org.apache.iotdb.trigger.api.Trigger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean fire​(org.apache.iotdb.tsfile.write.record.Tablet tablet)  
      void onCreate​(org.apache.iotdb.trigger.api.TriggerAttributes attributes)  
      void onDrop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.iotdb.trigger.api.Trigger

        getFailureStrategy, restore, validate
    • Constructor Detail

      • ClusterAlertingExample

        public ClusterAlertingExample()
    • Method Detail

      • onCreate

        public void onCreate​(org.apache.iotdb.trigger.api.TriggerAttributes attributes)
                      throws java.lang.Exception
        Specified by:
        onCreate in interface org.apache.iotdb.trigger.api.Trigger
        Throws:
        java.lang.Exception
      • onDrop

        public void onDrop()
                    throws java.io.IOException
        Specified by:
        onDrop in interface org.apache.iotdb.trigger.api.Trigger
        Throws:
        java.io.IOException
      • fire

        public boolean fire​(org.apache.iotdb.tsfile.write.record.Tablet tablet)
                     throws java.lang.Exception
        Specified by:
        fire in interface org.apache.iotdb.trigger.api.Trigger
        Throws:
        java.lang.Exception