public class KeyValueClient extends Object
| Constructor and Description |
|---|
KeyValueClient() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getValue(SubChannel subChannel,
String key) |
static void |
main(String[] args) |
static void |
setValue(SubChannel subChannel,
String key,
String value) |
public static void setValue(SubChannel subChannel, String key, String value) throws Exception
Exceptionpublic static String getValue(SubChannel subChannel, String key) throws com.uber.tchannel.thrift.generated.NotFoundError, ExecutionException, InterruptedException, TChannelError
com.uber.tchannel.thrift.generated.NotFoundErrorExecutionExceptionInterruptedExceptionTChannelErrorCopyright © 2016. All rights reserved.