DatanodeCommand, NamenodeCommand@Private
@Evolving
public abstract class ServerCommand
extends java.lang.Object
DatanodeProtocol,
NamenodeProtocol| Constructor | Description |
|---|---|
ServerCommand(int action) |
Create a command for the specified action.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getAction() |
Get server command action.
|
java.lang.String |
toString() |
public ServerCommand(int action)
action - protocol specific actionDatanodeProtocol,
NamenodeProtocolCopyright © 2008–2025 Apache Software Foundation. All rights reserved.