code: public static ResourceClaim claim(ZooKeeperConnection zooKeeperConnection, int poolSize, String znode) throws IOException {
          return new ResourceClaim(zooKeeperConnection, poolSize, znode);
      }
docs: Claim a resource.
  
  @param zooKeeperConnection ZooKeeper connection to use.
  @param poolSize            Size of the resource pool.
  @param znode               Root znode of the ZooKeeper resource-pool.
  @return A resource claim.