code: public ServerSideConfigurationBuilder resourcePool(String name, long size, MemoryUnit unit, String serverResource) {
      return resourcePool(name, new Pool(unit.toBytes(size), serverResource));
    }
docs: Adds a resource pool with the given name and size and consuming the given server resource.
  
  @param name pool name
  @param size pool size
  @param unit pool size unit
  @param serverResource server resource to consume
  
  @return a clustering service configuration builder