@NotThreadSafe public final class DefaultFileSystemWorker extends AbstractWorker implements FileSystemWorker
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends Server>> |
getDependencies() |
String |
getName() |
Map<ServiceType,GrpcService> |
getServices() |
void |
start(WorkerNetAddress address)
Starts the Alluxio server.
|
void |
stop()
Stops the Alluxio server.
|
close, getExecutorService
public Set<Class<? extends Server>> getDependencies()
getDependencies
in interface Server<WorkerNetAddress>
public String getName()
getName
in interface Server<WorkerNetAddress>
public Map<ServiceType,GrpcService> getServices()
getServices
in interface Server<WorkerNetAddress>
public void start(WorkerNetAddress address)
Server
start
in interface Server<WorkerNetAddress>
address
- the start optionspublic void stop()
Server
#start(T)
should be
cleaned up and shutdown.stop
in interface Server<WorkerNetAddress>
Copyright © 2023. All Rights Reserved.