Package com.yahoo.messagebus.network.rpc
Interface RPCService
- All Known Implementing Classes:
NamedRPCService
,TcpRPCService
public interface RPCService
An RPCService represents a set of remote sessions matching a service pattern. The sessions are monitored using the
slobrok. If multiple sessions are available, round robin is used to balance load between them.
- Author:
- havardpe
-
Method Summary
Modifier and TypeMethodDescriptionstatic RPCService
resolve()
Resolve a concrete address from this service.
-
Method Details
-
create
-
resolve
RPCServiceAddress resolve()Resolve a concrete address from this service. This service may represent multiple remote sessions, so this will select one that is online.- Returns:
- A concrete service address.
-