public class ThriftSessionManager
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static ThriftSessionManager | instance | 
| Constructor and Description | 
|---|
| ThriftSessionManager() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | connectionComplete(java.net.SocketAddress socket)The connection associated with @param socket is permanently finished. | 
| ThriftClientState | currentSession() | 
| int | getConnectedClients() | 
| void | setCurrentSocket(java.net.SocketAddress socket) | 
public static final ThriftSessionManager instance
public void setCurrentSocket(java.net.SocketAddress socket)
socket - the address on which the current thread will work on requests for until further noticepublic ThriftClientState currentSession()
public void connectionComplete(java.net.SocketAddress socket)
public int getConnectedClients()
Copyright © 2018 The Apache Software Foundation