Package | Description |
---|---|
sirius.kernel |
Provides the main setup classes for the SIRIUS kernel.
|
sirius.kernel.async |
Provides a framework for asynchronous execution of given tasks.
|
sirius.kernel.cache |
Provides a framework for building and using caches.
|
sirius.kernel.commons |
Provides common classes used by large parts of the framework.
|
sirius.kernel.di |
Contains the micro kernel for the discovery based programming framework.
|
sirius.kernel.health |
Provides tools to record the system state and to log and handle exceptions.
|
sirius.kernel.nls |
Native language support used by SIRIUS.
|
sirius.kernel.settings |
Provides a wrapper around the typesafe config
library.
|
sirius.kernel.timer |
Support for executing tasks in regular intervals.
|
Class and Description |
---|
Log
The logging facade used by the system.
|
Class and Description |
---|
Average
Represents an average value over a given set of values.
|
Counter
Represents a counter for statistical use.
|
Log
The logging facade used by the system.
|
Class and Description |
---|
Counter
Represents a counter for statistical use.
|
Log
The logging facade used by the system.
|
Class and Description |
---|
Log
The logging facade used by the system.
|
Class and Description |
---|
Log
The logging facade used by the system.
|
Class and Description |
---|
Average
Represents an average value over a given set of values.
|
ExceptionHandler
Instances registered for this interface will be notified about every exception handled by
Exceptions |
Exceptions.ErrorHandler
Fluent API to create a HandledException based on given parameters
The intention is to use a call like:
Exceptions.handler()
.error(anException) // Sets the exception to handle
.to(aLogger) // Sets the logger to use for logging
.withNLSKey("nls.key") // Sets the i18n key to create the error message
.set("param",value) // Sets a named parameter which occurs in the message
.handle(); // logs an creates the HandledException
Since none of the methods must be called (except handle() of course), this provides a lot of
flexibility and permits to handle several different error situations without having methods with long
parameter lists and lots of null values. |
HandledException
An exception which has already been handled (logged and reacted upon) can be represented by
HandledException.
|
Incident
Describes a handled exception generated by
Exceptions and passed on to ExceptionHandler . |
Log
The logging facade used by the system.
|
LogMessage |
LogTap
Can be used to "tap" the logging system.
|
Microtiming.Timing
Simple value class which represents a measured timing.
|
Class and Description |
---|
Log
The logging facade used by the system.
|
Class and Description |
---|
Log
The logging facade used by the system.
|
Class and Description |
---|
Log
The logging facade used by the system.
|
Copyright © 2018. All rights reserved.