- private Map<RpcRouter.RouteIdentifier<?, ?, ?>, Long> table = new HashMap<>();
- private ActorRef router;
-
- @Override
- public RoutingTable copy() {
- RoutingTable copy = new RoutingTable();
- copy.setTable(new HashMap<>(table));
- copy.setRouter(this.getRouter());
+ private final Set<RouteIdentifier<?, ?, ?>> rpcs;
+ private final ActorRef rpcInvoker;