Class PipeConfigNodeRuntimeAgent

java.lang.Object
org.apache.iotdb.confignode.manager.pipe.agent.runtime.PipeConfigNodeRuntimeAgent
All Implemented Interfaces:
IService

public class PipeConfigNodeRuntimeAgent extends Object implements IService
  • Constructor Details

    • PipeConfigNodeRuntimeAgent

      public PipeConfigNodeRuntimeAgent()
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface IService
    • stop

      public void stop()
      Specified by:
      stop in interface IService
    • isShutdown

      public boolean isShutdown()
    • getID

      public ServiceType getID()
      Specified by:
      getID in interface IService
    • listener

      public ConfigRegionListeningQueue listener()
    • increaseListenerReference

      public void increaseListenerReference(PipeParameters parameters) throws IllegalPathException
      Throws:
      IllegalPathException
    • decreaseListenerReference

      public void decreaseListenerReference(PipeParameters parameters) throws IllegalPathException
      Throws:
      IllegalPathException
    • notifyLeaderReady

      public void notifyLeaderReady()
      Notify the region listener that the leader is ready to allow pipe operations.
    • notifyLeaderUnavailable

      public void notifyLeaderUnavailable()
      Notify the region listener that the leader is unavailable to stop pipe operations.
    • isLeaderReady

      public boolean isLeaderReady()
      Check if the leader is ready to allow pipe operations.
      Returns:
      true if the leader is ready to allow pipe operations
    • report

      public void report(EnrichedEvent event, PipeRuntimeException pipeRuntimeException)
    • registerPeriodicalJob

      public void registerPeriodicalJob(String id, Runnable periodicalJob, long intervalInSeconds)
    • registerPhantomReferenceCleanJob

      public void registerPhantomReferenceCleanJob(String id, Runnable periodicalJob, long intervalInSeconds)