Esempio n. 1
0
 ThriftFunction(AsyncProcessFunction<?, ?, ?> func) throws Exception {
   this(func.getMethodName(), func, Type.ASYNC, getResultType(func));
 }
Esempio n. 2
0
 private static Class<TBase<TBase<?, ?>, TFieldIdEnum>> getResultType(
     AsyncProcessFunction<?, ?, ?> asyncFunc) {
   return getResultType0(Type.ASYNC, asyncFunc.getClass(), asyncFunc.getMethodName());
 }