org.jboss.messaging.integration.transports.netty
Class HttpKeepAliveRunnable
java.lang.Object
org.jboss.messaging.integration.transports.netty.HttpKeepAliveRunnable
- All Implemented Interfaces:
- java.lang.Runnable
public class HttpKeepAliveRunnable
- extends java.lang.Object
- implements java.lang.Runnable
A simple Runnable to allow HttpAcceptorHandlers to be called intermittently.
- Author:
- Andy Taylor, Jeff Mesnil
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpKeepAliveRunnable
public HttpKeepAliveRunnable()
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
registerKeepAliveHandler
public void registerKeepAliveHandler(org.jboss.messaging.integration.transports.netty.HttpAcceptorHandler httpAcceptorHandler)
unregisterKeepAliveHandler
public void unregisterKeepAliveHandler(org.jboss.messaging.integration.transports.netty.HttpAcceptorHandler httpAcceptorHandler)
close
public void close()
setFuture
public void setFuture(java.util.concurrent.Future<?> future)
Copyright © 2006 JBoss Inc. All Rights Reserved.