public interface ReportApi
| Modifier and Type | Method and Description |
|---|---|
void |
error(String message)
Reports an error message.
|
void |
error(String message,
Throwable throwable)
Reports an error message.
|
void |
info(String message)
Reports an informative message.
|
void |
info(String message,
Throwable throwable)
Reports an informative message.
|
void |
warn(String message)
Reports a warning message.
|
void |
warn(String message,
Throwable throwable)
Reports a warning message.
|
void info(String message)
@Sticky annotation to the operator method that using this.message - the messageReport.FailedException - if error was occurred while reporting the messagevoid info(String message, Throwable throwable)
@Sticky annotation to the operator method that using this.message - the messagethrowable - the optional exception object (nullable)Report.FailedException - if error was occurred while reporting the messagevoid warn(String message)
@Sticky annotation to the operator method that using this.message - the messageReport.FailedException - if error was occurred while reporting the messagevoid warn(String message, Throwable throwable)
@Sticky annotation to the operator method that using this.message - the messagethrowable - the optional exception object (nullable)Report.FailedException - if error was occurred while reporting the messagevoid error(String message)
@Sticky annotation to the operator method that using this.
Please be careful that this method will NOT shutdown the running batch.
To shutdown the batch, throw an exception (RuntimeException) in operator methods.message - the messageReport.FailedException - if error was occurred while reporting the messagevoid error(String message, Throwable throwable)
@Sticky annotation to the operator method that using this.
Please be careful that this method will NOT shutdown the running batch.
To shutdown the batch, throw an exception (RuntimeException) in operator methods.message - the messagethrowable - the optional exception object (nullable)Report.FailedException - if error was occurred while reporting the messageCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.