List of usage examples for java.lang Thread subclass-usage
From source file com.predic8.membrane.core.interceptor.balancer.SessionCleanupThread.java
public class SessionCleanupThread extends Thread { private static Log log = LogFactory.getLog(SessionCleanupThread.class.getName()); public static final long DEFAULT_TIMEOUT = 60 * 60000; private Map<String, Cluster> clusters; private long sessionTimeout = DEFAULT_TIMEOUT;
From source file org.wso2.carbon.automation.test.utils.tcpmon.client.SocketWaiter.java
/** * wait for incoming connections, spawn a connection thread when * stuff comes in. */ class SocketWaiter extends Thread {
From source file tweetcrawler.Worker.java
/** * * @author ayhun */ public class Worker extends Thread {
From source file edu.uci.ics.crawler4j.fetcher.IdleConnectionMonitorThread.java
public class IdleConnectionMonitorThread extends Thread { private final PoolingClientConnectionManager connMgr; private volatile boolean shutdown; public IdleConnectionMonitorThread(PoolingClientConnectionManager connMgr) { super("Connection Manager");
From source file com.cisco.cta.taxii.adapter.TcpServer.java
class TcpServer extends Thread implements AutoCloseable { private static int port = 9000; private static final Charset CHARSET = Charset.forName("UTF-8"); private final ServerSocket serverSocket;
From source file com.asuraiv.coordination.Master.java
/** * @author Jupyo Hong */ public class Master extends Thread implements Watcher, AsyncCallback.ChildrenCallback { private static final Logger LOG = LoggerFactory.getLogger(Master.class);
From source file ch.sbb.releasetrain.action.jenkins.JenkinsJobThread.java
/**
* Wraper Thread for Jenkins Builds
*
* @author u203244 (Daniel Marthaler)
* @since 0.0.1, 2016
*/
From source file org.guzz.util.thread.DemonQueuedThread.java
/**
*
* A demon thread holding a queue. When the queue is full, new arrived objects override the oldest one.
* <p />The queue is not thread-safe, and doesn't guarantee that no data will lose. Objects in this queue is processed randomly.
*
* @author liukaixuan(liukaixuan@gmail.com)
From source file org.wso2.carbon.membership.scheme.kubernetes.tcpforwarder.ForwardThread.java
/**
* ForwardThread handles the TCP forwarding between a socket
* input stream (source) and a socket output stream (dest).
* It reads the input stream and forwards everything to the
* output stream. If some of the streams fails, the forwarding
* stops and the parent is notified to close all its sockets.
From source file com.amazon.s3.http.IdleConnectionReaper.java
/**
* Daemon thread to periodically check connection pools for idle connections.
* <p>
* Connections sitting around idle in the HTTP connection pool for too long will
* eventually be terminated by the AWS end of the connection, and will go into
* CLOSE_WAIT. If this happens, sockets will sit around in CLOSE_WAIT, still