@ThreadSafe public final class KeyValueMasterClientServiceHandler extends Object implements KeyValueMasterClientService.Iface
Modifier and Type | Method and Description |
---|---|
CompletePartitionTResponse |
completePartition(String path,
PartitionInfo info,
CompletePartitionTOptions options)
Marks a partition complete and adds it to the store.
|
CompleteStoreTResponse |
completeStore(String path,
CompleteStoreTOptions options)
Marks a store complete with its filesystem path.
|
CreateStoreTResponse |
createStore(String path,
CreateStoreTOptions options)
Creates a new key-value store on master.
|
DeleteStoreTResponse |
deleteStore(String path,
DeleteStoreTOptions options)
Deletes a completed key-value store.
|
GetPartitionInfoTResponse |
getPartitionInfo(String path,
GetPartitionInfoTOptions options)
Gets the partition information for the key-value store at the given filesystem path.
|
GetServiceVersionTResponse |
getServiceVersion(GetServiceVersionTOptions options)
Returns the version of the master service.
|
MergeStoreTResponse |
mergeStore(String fromPath,
String toPath,
MergeStoreTOptions options)
Merges one completed key-value store to another completed key-value store.
|
RenameStoreTResponse |
renameStore(String oldPath,
String newPath,
RenameStoreTOptions options)
Renames a completed key-value store.
|
public GetServiceVersionTResponse getServiceVersion(GetServiceVersionTOptions options)
AlluxioService.Iface
getServiceVersion
in interface AlluxioService.Iface
options
- the method optionspublic CompletePartitionTResponse completePartition(String path, PartitionInfo info, CompletePartitionTOptions options) throws AlluxioTException
KeyValueMasterClientService.Iface
completePartition
in interface KeyValueMasterClientService.Iface
path
- the path of the storeinfo
- information about the partition to mark completeoptions
- the method optionsAlluxioTException
public CreateStoreTResponse createStore(String path, CreateStoreTOptions options) throws AlluxioTException
KeyValueMasterClientService.Iface
createStore
in interface KeyValueMasterClientService.Iface
path
- the path of the storeoptions
- the method optionsAlluxioTException
public CompleteStoreTResponse completeStore(String path, CompleteStoreTOptions options) throws AlluxioTException
KeyValueMasterClientService.Iface
completeStore
in interface KeyValueMasterClientService.Iface
path
- the path of the storeoptions
- the method optionsAlluxioTException
public DeleteStoreTResponse deleteStore(String path, DeleteStoreTOptions options) throws AlluxioTException
KeyValueMasterClientService.Iface
deleteStore
in interface KeyValueMasterClientService.Iface
path
- the path of the storeoptions
- the method optionsAlluxioTException
public GetPartitionInfoTResponse getPartitionInfo(String path, GetPartitionInfoTOptions options) throws AlluxioTException
KeyValueMasterClientService.Iface
getPartitionInfo
in interface KeyValueMasterClientService.Iface
path
- the path of the storeoptions
- the method optionsAlluxioTException
public MergeStoreTResponse mergeStore(String fromPath, String toPath, MergeStoreTOptions options) throws AlluxioTException
KeyValueMasterClientService.Iface
mergeStore
in interface KeyValueMasterClientService.Iface
fromPath
- the path of the store to be mergedtoPath
- the path of the store to be merged tooptions
- the method optionsAlluxioTException
public RenameStoreTResponse renameStore(String oldPath, String newPath, RenameStoreTOptions options) throws AlluxioTException
KeyValueMasterClientService.Iface
renameStore
in interface KeyValueMasterClientService.Iface
oldPath
- the old path of the storenewPath
- the new path of the storeoptions
- the method optionsAlluxioTException
Copyright © 2023. All Rights Reserved.