示例#1
0
 public void write(BlockPayload block) {
   store.attach(block);
   maybeCache(block);
   dirty.put(block.getPos(), block);
 }
示例#2
0
 public void remove(BlockPayload block) {
   dirty.remove(block.getPos());
   indexBlockCache.remove(block.getPos());
   store.remove(block);
 }