kieker.tools.bridge.connector.tcp
Class TCPMultiServerConnectionRunnable
java.lang.Object
kieker.tools.bridge.connector.tcp.TCPMultiServerConnectionRunnable
- All Implemented Interfaces:
- Runnable
public class TCPMultiServerConnectionRunnable
- extends Object
- implements Runnable
Handles one TCP connection for the multi server.
- Since:
- 1.8
- Author:
- Reiner Jung
Method Summary |
boolean |
isActive()
|
void |
run()
Main loop of the connection runnable. |
void |
setActive(boolean active)
|
TCPMultiServerConnectionRunnable
public TCPMultiServerConnectionRunnable(Socket socket,
ConcurrentMap<Integer,LookupEntity> lookupEntityMap,
BlockingQueue<IMonitoringRecord> recordQueue)
- Create a service thread.
- Parameters:
socket
- service socketlookupEntityMap
- map for constructor and parameter fields of records combined with the record idrecordQueue
- Queue of the server to retrieve all deserialized records
run
public void run()
- Main loop of the connection runnable.
- Specified by:
run
in interface Runnable
isActive
public boolean isActive()
setActive
public void setActive(boolean active)
Copyright 2014 Kieker Project, http://kieker-monitoring.net>