示例#1
0
  @Override
  public Stat forPath(String path) throws Exception {
    path = client.fixForNamespace(path);

    Stat returnStat = null;
    if (backgrounding.inBackground()) {
      client.processBackgroundOperation(
          new OperationAndData<String>(this, path, backgrounding.getCallback()), null);
    } else {
      returnStat = pathInForeground(path);
    }

    return returnStat;
  }