KIn - the type of input keysVIn - the type of input valuesVOut - the type of output valuespublic abstract class ContextualFixedKeyProcessor<KIn,VIn,VOut> extends Object implements FixedKeyProcessor<KIn,VIn,VOut>
FixedKeyProcessor that manages the
FixedKeyProcessorContext instance and provides default no-op
implementation of FixedKeyProcessor.close().| Modifier and Type | Method and Description |
|---|---|
void |
init(FixedKeyProcessorContext<KIn,VOut> context)
Initialize this processor with the given context.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, processpublic void init(FixedKeyProcessorContext<KIn,VOut> context)
FixedKeyProcessorFixedKeyProcessor.close() will be called on it; the
framework may later re-use the processor by calling #init() again.
The provided context can be used to access topology and record metadata, to
schedule a method to be
called periodically and to access attached StateStores.
init in interface FixedKeyProcessor<KIn,VIn,VOut>context - the context; may not be null