public abstract static class PayloadProcessorProvider.ReaderPayloadProcessor extends Object
PayloadProcessorProvider.PayloadProcessor
for a given Term
which allows
processing the payloads of different terms differently. If you intent to
process all your payloads the same way, then you can ignore the given term.
NOTE: if you protect your PayloadProcessorProvider.ReaderPayloadProcessor
from
concurrency issues, then you shouldn't worry about any such issues when
PayloadProcessorProvider.PayloadProcessor
s are requested for different terms.
Constructor and Description |
---|
PayloadProcessorProvider.ReaderPayloadProcessor() |
Modifier and Type | Method and Description |
---|---|
abstract PayloadProcessorProvider.PayloadProcessor |
getProcessor(Term term)
Returns a
PayloadProcessorProvider.PayloadProcessor for the given term. |
public PayloadProcessorProvider.ReaderPayloadProcessor()
public abstract PayloadProcessorProvider.PayloadProcessor getProcessor(Term term) throws IOException
PayloadProcessorProvider.PayloadProcessor
for the given term.IOException