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