class RemoteRpcRegistryMXBeanImpl extends AbstractRegistryMXBean<RoutingTable, DOMRpcIdentifier> implements RemoteRpcRegistryMXBean {

    @Override
    public Set<String> getGlobalRpc() {
        RoutingTable table = localData();
        Set<String> globalRpc = new HashSet<>(table.getItems().size());
        for (DOMRpcIdentifier route : table.getItems()) {
            if (route.getContextReference().isEmpty()) {
                globalRpc.add(route.getType().toString());
            }
        }

        log.debug("Locally registered global RPCs {}", globalRpc);
        return globalRpc;
    }

    public  RemoteRpcRegistryMXBeanImpl(final BucketStoreAccess rpcRegistryAccess, final Timeout timeout);

}