private static class RpcClient.RpcNodeConnection extends Object implements Client.NodeConnection
Modifier and Type | Field and Description |
---|---|
private String |
description |
private String |
hostname |
private int |
port |
private com.yahoo.jrt.Supervisor |
supervisor |
private com.yahoo.jrt.Target |
target |
Constructor and Description |
---|
RpcNodeConnection(String hostname,
int port,
com.yahoo.jrt.Supervisor supervisor) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this connection
|
void |
invokeAsync(com.yahoo.jrt.Request req,
double timeout,
com.yahoo.jrt.RequestWaiter waiter) |
String |
toString() |
private final com.yahoo.jrt.Supervisor supervisor
private final String hostname
private final int port
private final String description
private com.yahoo.jrt.Target target
public RpcNodeConnection(String hostname, int port, com.yahoo.jrt.Supervisor supervisor)
public void invokeAsync(com.yahoo.jrt.Request req, double timeout, com.yahoo.jrt.RequestWaiter waiter)
public void close()
Client.NodeConnection
close
in interface Client.NodeConnection
Copyright © 2018. All rights reserved.