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
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static RPCService
create(com.yahoo.jrt.slobrok.api.IMirror mirror, String pattern)
RPCServiceAddress
resolve()
Resolve a concrete address from this service.
-
-
-
Method Detail
-
create
static RPCService create(com.yahoo.jrt.slobrok.api.IMirror mirror, String pattern)
-
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.
-
-