@Internal public final class PingCommand extends Object implements Command
Command.Priority| Constructor and Description |
|---|
PingCommand(AsyncPingHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancels the ongoing operation or process.
|
AsyncPingHandler |
getHandler() |
public PingCommand(AsyncPingHandler handler)
public AsyncPingHandler getHandler()
public boolean cancel()
Cancellablecancel in interface Cancellabletrue if the operation or process has been cancelled as a result of
this method call or false if it has already been cancelled or not started.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.