public static class KeyValueMasterClientService.Client extends AlluxioService.Client implements KeyValueMasterClientService.Iface
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyValueMasterClientService.Client.Factory |
| Constructor and Description |
|---|
KeyValueMasterClientService.Client(org.apache.thrift.protocol.TProtocol prot) |
KeyValueMasterClientService.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot) |
| Modifier and Type | Method and Description |
|---|---|
void |
completePartition(String path,
PartitionInfo info)
Marks a partition complete and adds it to the store.
|
void |
completeStore(String path)
Marks a store complete with its filesystem path.
|
void |
createStore(String path)
Creates a new key-value store on master.
|
void |
deleteStore(String path)
Deletes a completed key-value store.
|
List<PartitionInfo> |
getPartitionInfo(String path)
Gets the partition information for the key-value store at the given filesystem path.
|
void |
mergeStore(String fromPath,
String toPath)
Merges one completed key-value store to another completed key-value store.
|
void |
recv_completePartition() |
void |
recv_completeStore() |
void |
recv_createStore() |
void |
recv_deleteStore() |
List<PartitionInfo> |
recv_getPartitionInfo() |
void |
recv_mergeStore() |
void |
send_completePartition(String path,
PartitionInfo info) |
void |
send_completeStore(String path) |
void |
send_createStore(String path) |
void |
send_deleteStore(String path) |
void |
send_getPartitionInfo(String path) |
void |
send_mergeStore(String fromPath,
String toPath) |
getServiceVersion, recv_getServiceVersion, send_getServiceVersiongetInputProtocol, getOutputProtocol, receiveBase, sendBase, sendBaseOnewayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServiceVersionpublic KeyValueMasterClientService.Client(org.apache.thrift.protocol.TProtocol prot)
public KeyValueMasterClientService.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot)
public void completePartition(String path, PartitionInfo info) throws AlluxioTException, org.apache.thrift.TException
KeyValueMasterClientService.IfacecompletePartition in interface KeyValueMasterClientService.Ifacepath - the path of the storeinfo - information about the partition to mark completeAlluxioTExceptionorg.apache.thrift.TExceptionpublic void send_completePartition(String path, PartitionInfo info) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_completePartition()
throws AlluxioTException,
org.apache.thrift.TException
AlluxioTExceptionorg.apache.thrift.TExceptionpublic void completeStore(String path) throws AlluxioTException, org.apache.thrift.TException
KeyValueMasterClientService.IfacecompleteStore in interface KeyValueMasterClientService.Ifacepath - the path of the storeAlluxioTExceptionorg.apache.thrift.TExceptionpublic void send_completeStore(String path) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_completeStore()
throws AlluxioTException,
org.apache.thrift.TException
AlluxioTExceptionorg.apache.thrift.TExceptionpublic void createStore(String path) throws AlluxioTException, org.apache.thrift.TException
KeyValueMasterClientService.IfacecreateStore in interface KeyValueMasterClientService.Ifacepath - the path of the storeAlluxioTExceptionorg.apache.thrift.TExceptionpublic void send_createStore(String path) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_createStore()
throws AlluxioTException,
org.apache.thrift.TException
AlluxioTExceptionorg.apache.thrift.TExceptionpublic List<PartitionInfo> getPartitionInfo(String path) throws AlluxioTException, org.apache.thrift.TException
KeyValueMasterClientService.IfacegetPartitionInfo in interface KeyValueMasterClientService.Ifacepath - the path of the storeAlluxioTExceptionorg.apache.thrift.TExceptionpublic void send_getPartitionInfo(String path) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic List<PartitionInfo> recv_getPartitionInfo() throws AlluxioTException, org.apache.thrift.TException
AlluxioTExceptionorg.apache.thrift.TExceptionpublic void deleteStore(String path) throws AlluxioTException, ThriftIOException, org.apache.thrift.TException
KeyValueMasterClientService.IfacedeleteStore in interface KeyValueMasterClientService.Ifacepath - the path of the storeAlluxioTExceptionThriftIOExceptionorg.apache.thrift.TExceptionpublic void send_deleteStore(String path) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_deleteStore()
throws AlluxioTException,
ThriftIOException,
org.apache.thrift.TException
AlluxioTExceptionThriftIOExceptionorg.apache.thrift.TExceptionpublic void mergeStore(String fromPath, String toPath) throws AlluxioTException, ThriftIOException, org.apache.thrift.TException
KeyValueMasterClientService.IfacemergeStore in interface KeyValueMasterClientService.IfacefromPath - the path of the store to be mergedtoPath - the path of the store to be merged toAlluxioTExceptionThriftIOExceptionorg.apache.thrift.TExceptionpublic void send_mergeStore(String fromPath, String toPath) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void recv_mergeStore()
throws AlluxioTException,
ThriftIOException,
org.apache.thrift.TException
AlluxioTExceptionThriftIOExceptionorg.apache.thrift.TExceptionCopyright © 2016. All Rights Reserved.