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