org.I0Itec.zkclient
Class GatewayThread
java.lang.Object
java.lang.Thread
org.I0Itec.zkclient.GatewayThread
- All Implemented Interfaces:
- Runnable
public class GatewayThread
- extends Thread
|
Field Summary |
protected static org.apache.log4j.Logger |
LOG
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
LOG
protected static final org.apache.log4j.Logger LOG
GatewayThread
public GatewayThread(int port,
int destinationPort)
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
closeQuietly
protected void closeQuietly(Closeable closable)
interrupt
public void interrupt()
- Overrides:
interrupt in class Thread
interruptAndJoin
public void interruptAndJoin()
throws InterruptedException
- Throws:
InterruptedException
awaitUp
public void awaitUp()
Copyright © 2011. All Rights Reserved.