Package dev.vality.damsel.domain_config
Class RepositorySrv.AsyncProcessor.Pull<I extends RepositorySrv.AsyncIface>
java.lang.Object
org.apache.thrift.AsyncProcessFunction<I,RepositorySrv.Pull_args,Map<Long,Commit>>
dev.vality.damsel.domain_config.RepositorySrv.AsyncProcessor.Pull<I>
- Enclosing class:
- RepositorySrv.AsyncProcessor<I extends RepositorySrv.AsyncIface>
public static class RepositorySrv.AsyncProcessor.Pull<I extends RepositorySrv.AsyncIface>
extends org.apache.thrift.AsyncProcessFunction<I,RepositorySrv.Pull_args,Map<Long,Commit>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, int seqid) protected booleanisOneway()voidstart(I iface, RepositorySrv.Pull_args args, org.apache.thrift.async.AsyncMethodCallback<Map<Long, Commit>> resultHandler) Methods inherited from class org.apache.thrift.AsyncProcessFunction
getMethodName, sendResponse
-
Constructor Details
-
Pull
public Pull()
-
-
Method Details
-
getEmptyArgsInstance
- Specified by:
getEmptyArgsInstancein classorg.apache.thrift.AsyncProcessFunction<I extends RepositorySrv.AsyncIface,RepositorySrv.Pull_args, Map<Long, Commit>>
-
getResultHandler
public org.apache.thrift.async.AsyncMethodCallback<Map<Long,Commit>> getResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, int seqid) - Specified by:
getResultHandlerin classorg.apache.thrift.AsyncProcessFunction<I extends RepositorySrv.AsyncIface,RepositorySrv.Pull_args, Map<Long, Commit>>
-
isOneway
protected boolean isOneway()- Specified by:
isOnewayin classorg.apache.thrift.AsyncProcessFunction<I extends RepositorySrv.AsyncIface,RepositorySrv.Pull_args, Map<Long, Commit>>
-
start
public void start(I iface, RepositorySrv.Pull_args args, org.apache.thrift.async.AsyncMethodCallback<Map<Long, Commit>> resultHandler) throws org.apache.thrift.TException- Specified by:
startin classorg.apache.thrift.AsyncProcessFunction<I extends RepositorySrv.AsyncIface,RepositorySrv.Pull_args, Map<Long, Commit>> - Throws:
org.apache.thrift.TException
-