[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() {
|
public Set<E> getProcedureManagers() {
|
||||||
Set<E> returnValue = new HashSet<>();
|
return new HashSet<>(procedures);
|
||||||
for (E e: procedures) {
|
|
||||||
returnValue.add(e);
|
|
||||||
}
|
|
||||||
return returnValue;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract void loadProcedures(Configuration conf);
|
public abstract void loadProcedures(Configuration conf);
|
||||||
|
|
Loading…
Reference in New Issue