Class CoprocessorHost.EnvironmentPriorityComparator
java.lang.Object
org.apache.hadoop.hbase.coprocessor.CoprocessorHost.EnvironmentPriorityComparator
- All Implemented Interfaces:
Comparator<CoprocessorEnvironment>
- Enclosing class:
- CoprocessorHost<C extends Coprocessor,
E extends CoprocessorEnvironment<C>>
static class CoprocessorHost.EnvironmentPriorityComparator
extends Object
implements Comparator<CoprocessorEnvironment>
Environment priority comparator. Coprocessors are chained in sorted order.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(CoprocessorEnvironment env1, CoprocessorEnvironment env2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
EnvironmentPriorityComparator
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<CoprocessorEnvironment>
-