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 Type
    Method
    Description
    static RPCService
    create(com.yahoo.jrt.slobrok.api.IMirror mirror, String pattern)
     
    Resolve a concrete address from this service.
  • Method Details

    • create

      static RPCService create(com.yahoo.jrt.slobrok.api.IMirror mirror, String pattern)
    • 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.