Skip to content

Commit

Permalink
[HOPS-628] make the replicas removal more efficient.
Browse files Browse the repository at this point in the history
  • Loading branch information
berthoug committed Aug 28, 2018
1 parent 9c94b7d commit d8fcd65
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
import io.hops.metadata.common.EntityDataAccess;

import java.util.Collection;
import java.util.List;
import java.util.Map;

public interface BlockLookUpDataAccess<T> extends EntityDataAccess {

Expand All @@ -28,4 +30,6 @@ public interface BlockLookUpDataAccess<T> extends EntityDataAccess {

void prepare(Collection<T> modified, Collection<T> removed)
throws StorageException;

Map<Integer, List<Long>> getINodeIdsForBlockIds(final long[] blockIds) throws StorageException;
}

0 comments on commit d8fcd65

Please sign in to comment.