Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jgroups.stack.Protocol
org.jgroups.protocols.TP
org.jgroups.protocols.TCP
org.jgroups.protocols.TCP_NIO
public class TCP_NIO
extends TCP
Field Summary |
Fields inherited from class org.jgroups.stack.Protocol | |
down_handler , down_prot , down_queue , down_thread , down_thread_prio , log , observer , props , stack , stats , trace , up_handler , up_prot , up_queue , up_thread , up_thread_prio , warn |
Method Summary | |
protected ConnectionTable |
|
String |
|
int | |
int | |
int | |
int | |
int | |
int | |
int | |
boolean |
|
Methods inherited from class org.jgroups.protocols.TCP | |
getBindAddr , getConnExpireTime , getConnectionTable , getEndPort , getInfo , getName , getOpenConnections , getReaperInterval , getStartPort , handleDownEvent , isLoopback , postUnmarshalling , postUnmarshallingList , printConnections , receive , sendToAllMembers , sendToSingleMember , setBindAddr , setConnExpireTime , setEndPort , setLoopback , setProperties , setReaperInterval , setStartPort , start , stop |
Methods inherited from class org.jgroups.stack.Protocol | |
destroy , down , downThreadEnabled , dumpStats , enableStats , getDownProtocol , getDownQueue , getName , getProperties , getUpProtocol , getUpQueue , handleSpecialDownEvent , init , isTrace , isWarn , passDown , passUp , printStats , providedDownServices , providedUpServices , receiveDownEvent , receiveUpEvent , requiredDownServices , requiredUpServices , resetStats , setDownProtocol , setObserver , setProperties , setPropertiesInternal , setProtocolStack , setTrace , setUpProtocol , setWarn , start , startDownHandler , startUpHandler , statsEnabled , stop , stopInternal , up , upThreadEnabled |
protected ConnectionTable getConnectionTable(long ri, long cet, InetAddress b_addr, InetAddress bc_addr, int s_port, int e_port) throws Exception
- Overrides:
- getConnectionTable in interface TCP
- Parameters:
- Returns:
- ConnectionTable Sub classes overrides this method to initialize a different version of ConnectionTable.
public int getProcessorKeepAliveTime()
public int getProcessorMaxThreads()
public int getProcessorMinThreads()
public int getProcessorQueueSize()
public int getProcessorThreads()
public int getReaderThreads()
public int getWriterThreads()
public boolean setProperties(Properties props)
Setup the Protocol instance acording to the configuration string
- Overrides:
- setProperties in interface TCP