public interface ProcessingFeedbackHandler
Modifier and Type | Method and Description |
---|---|
void |
debug(IngestDocument doc,
String message,
Object... args)
Return a debug message result to the client about the processing results of the current document.
|
void |
drop(IngestDocument ingestDocument)
Report a dropped document
|
void |
drop(PlatformMessage message)
Report a dropped message
|
void |
error(IngestDocument doc,
Exception e,
String message,
Object... args)
Report an error to the client about the processing results of the current document.
|
void |
fail(IngestDocument doc,
ErrorCode code,
Throwable e) |
void |
warn(IngestDocument doc,
ErrorCode code,
Throwable e) |
void |
warn(IngestDocument doc,
Exception e,
String message,
Object... args)
Warn the client about the processing results of the current document.
|
void warn(IngestDocument doc, Exception e, String message, Object... args)
message
is null
and an AttivioException is provided.doc
- e
- if e
is an AttivioException
and message
is null
, then the warning is composed
entirely of the exception. Otherwise the warning will reference the exception but the message
will be used.message
- args
- void error(IngestDocument doc, Exception e, String message, Object... args)
message
is null
and an AttivioException is provided.doc
- e
- if e
is an AttivioException
and message
is null
, then the error is composed entirely
of the exception. Otherwise the error will reference the exception but the message
will be used.message
- args
- void debug(IngestDocument doc, String message, Object... args)
void warn(IngestDocument doc, ErrorCode code, Throwable e)
void fail(IngestDocument doc, ErrorCode code, Throwable e)
void drop(IngestDocument ingestDocument)
ingestDocument
- void drop(PlatformMessage message)
message
- Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.