Package org.apache.thrift
Class TBaseAsyncProcessor<I>
java.lang.Object
org.apache.thrift.TBaseAsyncProcessor<I>
- All Implemented Interfaces:
TAsyncProcessor
,TProcessor
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTBaseAsyncProcessor
(I iface, Map<String, AsyncProcessFunction<I, ? extends TBase, ?>> processMap) -
Method Summary
Modifier and TypeMethodDescriptionMap<String,
AsyncProcessFunction<I, ? extends TBase, ?>> void
void
Process a single frame.
-
Field Details
-
LOGGER
protected final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
TBaseAsyncProcessor
-
-
Method Details
-
getProcessMapView
-
process
Description copied from interface:TAsyncProcessor
Process a single frame.Note: Implementations must call fb.responseReady() once processing is complete
- Specified by:
process
in interfaceTAsyncProcessor
- Parameters:
fb
- the frame buffer to process.- Throws:
TException
- if the frame cannot be processed
-
process
- Specified by:
process
in interfaceTProcessor
- Throws:
TException
-