public class IgniteExceptionRegistry extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IgniteExceptionRegistry.ExceptionInfo
Detailed info about suppressed error.
|
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_QUEUE_SIZE |
Modifier and Type | Method and Description |
---|---|
long |
errorCount()
Errors count.
|
static IgniteExceptionRegistry |
get() |
List<IgniteExceptionRegistry.ExceptionInfo> |
getErrors(long order)
Gets suppressed errors.
|
void |
onException(String msg,
Throwable e)
Puts exception into queue.
|
void |
printErrors(IgniteLogger log)
Prints errors.
|
void |
setMaxSize(int maxSize)
Sets max size.
|
public static final int DEFAULT_QUEUE_SIZE
public static IgniteExceptionRegistry get()
public void onException(String msg, Throwable e)
msg
- Message that describe reason why error was suppressed.e
- Exception.public List<IgniteExceptionRegistry.ExceptionInfo> getErrors(long order)
order
- Order number to filter errors.public void setMaxSize(int maxSize)
DEFAULT_QUEUE_SIZE
maxSize
- Max size.public void printErrors(IgniteLogger log)
log
- Logger.public long errorCount()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017