class FunctionRegistryHolder implements AutoCloseable {

  public int functionsSize() {
    try (@SuppressWarnings("unused") Closeable lock = readLock.open()) {
      return functions.size();
    }
  }

  public  FunctionRegistryHolder();

}