public interface AsyncPersistHandler
Modifier and Type | Interface and Description |
---|---|
static class |
AsyncPersistHandler.Factory
Factory for
AsyncPersistHandler . |
Modifier and Type | Method and Description |
---|---|
List<PersistFile> |
pollFilesToPersist(long workerId)
Polls the files for persistence on the given worker.
|
void |
scheduleAsyncPersistence(AlluxioURI path)
Schedules a file for async persistence.
|
void scheduleAsyncPersistence(AlluxioURI path) throws AlluxioException, UnavailableException
path
- the path to the fileAlluxioException
UnavailableException
List<PersistFile> pollFilesToPersist(long workerId) throws FileDoesNotExistException, InvalidPathException, AccessControlException
workerId
- the id of the worker for persistenceFileDoesNotExistException
- if the file does not existInvalidPathException
- if the path is invalidAccessControlException
- if permission checking failsCopyright © 2023. All Rights Reserved.