@ThreadSafe public class Worker extends Object implements Closeable
Constructor and Description |
---|
Worker(File logsDir,
Map<PropertyKey,String> properties) |
public Worker(File logsDir, Map<PropertyKey,String> properties) throws IOException
logsDir
- log directoryproperties
- alluxio propertiesIOException
public void start() throws IOException
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2023. All Rights Reserved.