public class AgentProcess extends Object implements AutoCloseable
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
AgentProcess(AlluxioConfiguration conf)
Creates a new
AgentProcess . |
Modifier and Type | Method and Description |
---|---|
void |
awaitTermination()
Blocks until the RPC server is terminated.
|
void |
close() |
int |
getRpcPort() |
static void |
main(String[] args)
Launch the agent process.
|
public AgentProcess(AlluxioConfiguration conf) throws Exception
AgentProcess
.conf
- the alluxio configurationException
- if any of the servers fail to startpublic void awaitTermination()
public void close()
close
in interface AutoCloseable
public int getRpcPort()
public static void main(String[] args)
args
- program argumentsCopyright © 2023. All Rights Reserved.