@NotThreadSafe public final class FileSystemMasterWorkerServiceHandler extends Object implements FileSystemMasterWorkerService.Iface
Modifier and Type | Method and Description |
---|---|
FileSystemHeartbeatTResponse |
fileSystemHeartbeat(long workerId,
List<Long> persistedFiles,
FileSystemHeartbeatTOptions options)
Periodic file system worker heartbeat.
|
GetFileInfoTResponse |
getFileInfo(long fileId,
GetFileInfoTOptions options) |
GetPinnedFileIdsTResponse |
getPinnedFileIds(GetPinnedFileIdsTOptions options)
Returns the set of pinned file ids.
|
GetServiceVersionTResponse |
getServiceVersion(GetServiceVersionTOptions options)
Returns the version of the master service.
|
GetUfsInfoTResponse |
getUfsInfo(long mountId,
GetUfsInfoTOptions options)
Returns the UFS information for the given mount point identified by its id.
|
public GetServiceVersionTResponse getServiceVersion(GetServiceVersionTOptions options)
AlluxioService.Iface
getServiceVersion
in interface AlluxioService.Iface
options
- the method optionspublic FileSystemHeartbeatTResponse fileSystemHeartbeat(long workerId, List<Long> persistedFiles, FileSystemHeartbeatTOptions options) throws AlluxioTException
FileSystemMasterWorkerService.Iface
fileSystemHeartbeat
in interface FileSystemMasterWorkerService.Iface
workerId
- the id of the workerpersistedFiles
- the list of persisted filesoptions
- the method optionsAlluxioTException
public GetFileInfoTResponse getFileInfo(long fileId, GetFileInfoTOptions options) throws AlluxioTException
getFileInfo
in interface FileSystemMasterWorkerService.Iface
AlluxioTException
public GetPinnedFileIdsTResponse getPinnedFileIds(GetPinnedFileIdsTOptions options) throws AlluxioTException
FileSystemMasterWorkerService.Iface
getPinnedFileIds
in interface FileSystemMasterWorkerService.Iface
options
- the method optionsAlluxioTException
public GetUfsInfoTResponse getUfsInfo(long mountId, GetUfsInfoTOptions options) throws AlluxioTException
FileSystemMasterWorkerService.Iface
getUfsInfo
in interface FileSystemMasterWorkerService.Iface
mountId
- the id of the ufsoptions
- the method optionsAlluxioTException
Copyright © 2023. All Rights Reserved.