@Test public void getPath() { Assert.assertEquals(PathUtils.concatPath(mTestBlockDirPath, ".tmp_blocks", TEST_SESSION_ID % 1024, String.format("%x-%x", TEST_SESSION_ID, TEST_BLOCK_ID)), mTempBlockMeta.getPath()); }
@Override public String getPath() { return tempPath(mDir, mSessionId, mBlockId); }
TempBlockMeta extends AbstractBlockMeta { @Override public String getPath() { return tempPath(mDir, mSessionId, mBlockId); } }
TempBlockMeta extends AbstractBlockMeta { @Override public String getPath() { return tempPath(mDir, mSessionId, mBlockId); } TempBlockMeta(long sessionId, long blockId, long initialBlockSize, StorageDir dir); }
TempBlockMeta extends AbstractBlockMeta { @Override public String getPath() { return tempPath(mDir, mSessionId, mBlockId); } TempBlockMeta(long sessionId, long blockId, long initialBlockSize, StorageDir dir); @Override long getBlockSize(); @Override String getPath(); String getCommitPath(); long getSessionId(); void setBlockSize(long newSize); }
TempBlockMeta extends AbstractBlockMeta { @Override public String getPath() { return tempPath(mDir, mSessionId, mBlockId); } TempBlockMeta(long sessionId, long blockId, long initialBlockSize, StorageDir dir); @Override long getBlockSize(); @Override String getPath(); String getCommitPath(); long getSessionId(); void setBlockSize(long newSize);  }