Пример #1
0
 ThriftFunction(ProcessFunction<?, ?> func) throws Exception {
   this(func.getMethodName(), func, Type.SYNC, getResultType(func));
 }
Пример #2
0
 private static Class<TBase<TBase<?, ?>, TFieldIdEnum>> getResultType(ProcessFunction<?, ?> func) {
   return getResultType0(Type.SYNC, func.getClass(), func.getMethodName());
 }