@Test public void setBlockSize() { Assert.assertEquals(TEST_BLOCK_SIZE, mTempBlockMeta.getBlockSize()); mTempBlockMeta.setBlockSize(1); Assert.assertEquals(1, mTempBlockMeta.getBlockSize()); mTempBlockMeta.setBlockSize(100); Assert.assertEquals(100, mTempBlockMeta.getBlockSize()); }
public void setBlockSize(long newSize) { mTempBlockSize = newSize; }
TempBlockMeta extends AbstractBlockMeta { public void setBlockSize(long newSize) { mTempBlockSize = newSize; } }
TempBlockMeta extends AbstractBlockMeta { public void setBlockSize(long newSize) { mTempBlockSize = newSize; } TempBlockMeta(long sessionId, long blockId, long initialBlockSize, StorageDir dir); }
TempBlockMeta extends AbstractBlockMeta { public void setBlockSize(long newSize) { mTempBlockSize = newSize; } 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 { public void setBlockSize(long newSize) { mTempBlockSize = newSize; } TempBlockMeta(long sessionId, long blockId, long initialBlockSize, StorageDir dir); @Override long getBlockSize(); @Override String getPath(); String getCommitPath(); long getSessionId(); void setBlockSize(long newSize);  }