Modifier and Type | Field and Description |
---|---|
UserGroupInformation |
attemptingUser |
Constructor and Description |
---|
Server.Connection(SelectionKey key,
SocketChannel channel,
long lastContact) |
Modifier and Type | Method and Description |
---|---|
String |
getHostAddress() |
InetAddress |
getHostInetAddress() |
long |
getLastContact() |
int |
getServiceClass()
Get service class for connection
|
int |
readAndProcess() |
void |
setLastContact(long lastContact) |
void |
setServiceClass(int serviceClass)
Set service class for connection
|
String |
toString() |
public UserGroupInformation attemptingUser
public Server.Connection(SelectionKey key, SocketChannel channel, long lastContact)
public String getHostAddress()
public InetAddress getHostInetAddress()
public void setLastContact(long lastContact)
public long getLastContact()
public int readAndProcess() throws org.apache.hadoop.ipc.Server.WrappedRpcServerException, IOException, InterruptedException
org.apache.hadoop.ipc.Server.WrappedRpcServerException
IOException
InterruptedException
public int getServiceClass()
public void setServiceClass(int serviceClass)
serviceClass
- the serviceClass to setCopyright © 2013 Apache Software Foundation. All rights reserved.