@Override public void flush() throws StorageException { final StubIndexImpl stubIndex = getStubIndex(); try { for (StubIndexKey key : stubIndex.getAllStubIndexKeys()) { stubIndex.flush(key); } } finally { super.flush(); } }