java.lang.Object
org.apache.sling.distribution.journal.impl.subscriber.CommandPoller
All Implemented Interfaces:
Closeable, AutoCloseable

public class CommandPoller extends Object implements Closeable
  • Constructor Details

    • CommandPoller

      public CommandPoller(org.apache.sling.distribution.journal.MessagingProvider messagingProvider, String subSlingId, String subAgentName, Runnable callback)
  • Method Details

    • isCleared

      public boolean isCleared(long offset)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable