HADOOP-15379. Make IrqHandler.bind() public. Contributed by Ajay Kumar

(cherry picked from commit ec1e8c1a8c)
This commit is contained in:
Bharat Viswanadham 2018-04-12 21:51:20 -07:00
parent 5531c31f16
commit b652e915fb
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ public final class IrqHandler implements SignalHandler {
* Bind to the interrupt handler.
* @throws IllegalArgumentException if the exception could not be set
*/
void bind() {
public void bind() {
Preconditions.checkState(signal == null, "Handler already bound");
try {
signal = new Signal(name);