class LocalDirAllocator {

  public File createTmpFileForWrite(String pathStr, long size, 
      Configuration conf) throws IOException {
    AllocatorPerContext context = obtainContext(contextCfgItemName);
    return context.createTmpFileForWrite(pathStr, size, conf);
  }

  public  LocalDirAllocator(String contextCfgItemName);
  public  LocalDirAllocator(String contextCfgItemName,
          DiskValidator diskValidator);

}