Package | Description |
---|---|
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.std |
Contains standard annotations and implementations for
ClassLoadAction and
FieldAnnotationProcessor to process them. |
sirius.kernel.health |
Provides tools to record the system state and to log and handle exceptions.
|
sirius.kernel.health.console |
Commands for the built-in console.
|
sirius.kernel.health.metrics |
Used to record and monitor system metrics.
|
sirius.kernel.nls |
Native language support used by SIRIUS.
|
sirius.kernel.timer |
Support for executing tasks in regular intervals.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> Cache<K,V> |
CacheManager.createCache(String name,
ValueComputer<K,V> valueComputer,
ValueVerifier<V> verifier)
Creates a cache with the given name.
|
Modifier and Type | Class and Description |
---|---|
class |
Exec
A robust wrapper around calls to external programs.
|
Modifier and Type | Method and Description |
---|---|
int |
Amount.compareTo(Amount o)
Compares this amount against the given one.
|
static Method |
Reflection.getter(Class<?> clazz,
String property)
Returns the getter method according to the java beans specification for a
given property.
|
Amount |
Amount.max(Amount other)
Compares this amount against the given amount and returns the one with the higher value.
|
Amount |
Amount.min(Amount other)
Compares this amount against the given amount and returns the one with the lower value.
|
void |
Trie.put(CharSequence key,
V value)
Associates the given key with the given value.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Priorized
Marks a class as sortable by its priority.
|
Modifier and Type | Class and Description |
---|---|
class |
Log
The logging facade used by the system.
|
Modifier and Type | Method and Description |
---|---|
static Log |
Log.get(String name)
Generates a new logger with the given name
The given name should be short and simple.
|
HandledException |
Exceptions.ErrorHandler.handle()
Generates and logs the resulting HandledException.
|
Modifier and Type | Method and Description |
---|---|
void |
GCCommand.execute(Command.Output output,
String... params) |
Modifier and Type | Method and Description |
---|---|
int |
Metric.compareTo(Metric o) |
Modifier and Type | Class and Description |
---|---|
class |
NLS
Native Language Support used by the framework.
|
Modifier and Type | Method and Description |
---|---|
protected Translation |
Babelfish.get(String property,
String fallback,
boolean create)
Retrieves the Translation for the given property.
|
static String |
NLS.toMachineString(Object data)
Formats the given data in a language independent format.
|
static String |
NLS.toUserString(Object data,
String lang)
Formats the given data according to the format rules of the given language
|
Modifier and Type | Field and Description |
---|---|
protected static Log |
Timers.LOG |
Modifier and Type | Method and Description |
---|---|
void |
Timers.addWatchedResource(URL url,
Runnable callback)
Adds the given file to the list of watched resources in DEVELOP mode (
Sirius.isDev() . |
Copyright © 2018. All rights reserved.