[HBASE-22525] : Return procedures to use bulk operation over iteration for Perf Improvement (#284)
This commit is contained in:
parent
4d4f4ee4d1
commit
6ea2566ac3
|
@ -103,11 +103,7 @@ public abstract class ProcedureManagerHost<E extends ProcedureManager> {
|
|||
}
|
||||
|
||||
public Set<E> getProcedureManagers() {
|
||||
Set<E> returnValue = new HashSet<>();
|
||||
for (E e: procedures) {
|
||||
returnValue.add(e);
|
||||
}
|
||||
return returnValue;
|
||||
return new HashSet<>(procedures);
|
||||
}
|
||||
|
||||
public abstract void loadProcedures(Configuration conf);
|
||||
|
|
Loading…
Reference in New Issue