Package dev.vality.damsel.context
Class ContextsSrv.Client
java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.damsel.context.ContextsSrv.Client
- All Implemented Interfaces:
ContextsSrv.Iface
- Enclosing class:
- ContextsSrv
public static class ContextsSrv.Client
extends org.apache.thrift.TServiceClient
implements ContextsSrv.Iface
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.apache.thrift.TServiceClient
interceptor, iprot_, oprot_, seqid_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidrecvGet()voidrecvPut()voidsendDelete(String id, String ns) voidvoidMethods inherited from class org.apache.thrift.TServiceClient
getInputProtocol, getInterceptor, getOutputProtocol, receiveBase, sendBase, sendBaseOneway, setInterceptor
-
Constructor Details
-
Client
public Client(org.apache.thrift.protocol.TProtocol prot) -
Client
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
-
-
Method Details
-
get
- Specified by:
getin interfaceContextsSrv.Iface- Throws:
ObjectNotFoundorg.apache.thrift.TException
-
sendGet
- Throws:
org.apache.thrift.TException
-
recvGet
- Throws:
ObjectNotFoundorg.apache.thrift.TException
-
put
public void put(String id, String ns, Value context) throws ObjectNotFound, Forbidden, org.apache.thrift.TException - Specified by:
putin interfaceContextsSrv.Iface- Throws:
ObjectNotFoundForbiddenorg.apache.thrift.TException
-
sendPut
- Throws:
org.apache.thrift.TException
-
recvPut
- Throws:
ObjectNotFoundForbiddenorg.apache.thrift.TException
-
delete
public void delete(String id, String ns) throws ObjectNotFound, Forbidden, org.apache.thrift.TException - Specified by:
deletein interfaceContextsSrv.Iface- Throws:
ObjectNotFoundForbiddenorg.apache.thrift.TException
-
sendDelete
- Throws:
org.apache.thrift.TException
-
recvDelete
- Throws:
ObjectNotFoundForbiddenorg.apache.thrift.TException
-