Class HttpKeepAliveRunnable

java.lang.Object
org.apache.activemq.artemis.core.remoting.impl.netty.HttpKeepAliveRunnable
All Implemented Interfaces:
Runnable

public class HttpKeepAliveRunnable extends Object implements Runnable
A simple Runnable to allow HttpAcceptorHandlers to be called intermittently.
  • Constructor Details

    • HttpKeepAliveRunnable

      public HttpKeepAliveRunnable()
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • getHandlers

      public List<HttpAcceptorHandler> getHandlers()
    • registerKeepAliveHandler

      public void registerKeepAliveHandler(HttpAcceptorHandler httpAcceptorHandler)
    • unregisterKeepAliveHandler

      public void unregisterKeepAliveHandler(HttpAcceptorHandler httpAcceptorHandler)
    • close

      public void close()
    • setFuture

      public void setFuture(Future<?> future)