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 Detail

      • create

        static RPCService create​(com.yahoo.jrt.slobrok.api.IMirror mirror,
                                 java.lang.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.