/** * Reports the path of the ZooKeeper node for permissions changes locking. * * @param instanceURI URI of the instance for which to get a lock for permissions changes. * @return the path of the ZooKeeper node used as a lock for permissions changes. */ public static File getInstancePermissionsLock(FijiURI instanceURI) { return new File(getInstanceDir(instanceURI), "permissions_lock"); }
/** * Reports the ZooKeeper root path containing all tables in a Fiji instance. * * @param fijiURI URI of a Fiji instance to report the ZooKeeper node path for. * @return the ZooKeeper node path that contains all the tables in the specified Fiji instance. */ public static File getInstanceTablesDir(FijiURI fijiURI) { return new File(getInstanceDir(fijiURI), "tables"); }
/** * Reports the ZooKeeper root path containing all users of a Fiji instance. * * @param fijiURI URI of a Fiji instance to report the ZooKeeper node path for. * @return the ZooKeeper node path that contains all users of the specified Fiji instance. */ public static File getInstanceUsersDir(FijiURI fijiURI) { return new File(getInstanceDir(fijiURI), "users"); }