HADOOP-15379. Make IrqHandler.bind() public. Contributed by Ajay Kumar
(cherry picked from commit ec1e8c1a8ca3d01b82ca82d73ba1132b6625d659)
This commit is contained in:
parent
5531c31f16
commit
b652e915fb
@ -86,7 +86,7 @@ public IrqHandler(String name, Interrupted handler) {
|
||||
* 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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user