@Test public void createFileId() throws Exception { long containerId = 1; long fileId = IdUtils.createFileId(containerId); assertNotEquals(-1, fileId); }
public static long createFileId(long containerId) { long id = BlockId.createBlockId(containerId, BlockId.getMaxSequenceNumber()); if (id == INVALID_FILE_ID) { LOG.warn("Created file id -1, which is invalid"); } return id; }
IdUtils { public static long createFileId(long containerId) { long id = BlockId.createBlockId(containerId, BlockId.getMaxSequenceNumber()); if (id == INVALID_FILE_ID) { LOG.warn("Created file id -1, which is invalid"); } return id; } }
IdUtils { public static long createFileId(long containerId) { long id = BlockId.createBlockId(containerId, BlockId.getMaxSequenceNumber()); if (id == INVALID_FILE_ID) { LOG.warn("Created file id -1, which is invalid"); } return id; } private  IdUtils(); }
IdUtils { public static long createFileId(long containerId) { long id = BlockId.createBlockId(containerId, BlockId.getMaxSequenceNumber()); if (id == INVALID_FILE_ID) { LOG.warn("Created file id -1, which is invalid"); } return id; } private  IdUtils(); static long createFileId(long containerId); static long fileIdFromBlockId(long blockId); static String createRpcId(); static synchronized long getRandomNonNegativeLong(); static long createSessionId(); static long createMountId(); static String createFileSystemContextId(); static String createOrGetAppIdFromConfig(AlluxioConfiguration conf); }
IdUtils { public static long createFileId(long containerId) { long id = BlockId.createBlockId(containerId, BlockId.getMaxSequenceNumber()); if (id == INVALID_FILE_ID) { LOG.warn("Created file id -1, which is invalid"); } return id; } private  IdUtils(); static long createFileId(long containerId); static long fileIdFromBlockId(long blockId); static String createRpcId(); static synchronized long getRandomNonNegativeLong(); static long createSessionId(); static long createMountId(); static String createFileSystemContextId(); static String createOrGetAppIdFromConfig(AlluxioConfiguration conf); static final long INVALID_FILE_ID; static final long INVALID_WORKER_ID; static final long INVALID_MOUNT_ID; static final long ROOT_MOUNT_ID; }