/** * Reports the path of the ZooKeeper node containing the most recent version of a table's layout. * * @param tableURI Reports the path of the ZooKeeper node that contains the most recent layout * version of the Fiji table identified by this URI. * @return the path of the ZooKeeper node that contains the most recent layout version of the * specified Fiji table. */ public static File getTableLayoutFile(FijiURI tableURI) { return new File(getTableDir(tableURI), "layout"); }
/** * Reports the path of the ZooKeeper node where users of a table register themselves. * * @param tableURI Reports the path of the ZooKeeper node where users of the Fiji table with this * URI register themselves. * @return the path of the ZooKeeper node where users of a table register. */ public static File getTableUsersDir(FijiURI tableURI) { return new File(getTableDir(tableURI), "users"); }
/** * Reports the path of the ZooKeeper node for table layout update locking. * * @param tableURI Reports the path of the ZooKeeper node used to create locks for table layout * updates. * @return the path of the ZooKeeper node used to create locks for table layout updates. */ public static File getTableLayoutUpdateLock(FijiURI tableURI) { return new File(getTableDir(tableURI), "layout_update_lock"); }