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.settings |
Provides a wrapper around the typesafe config
library.
|
Modifier and Type | Method and Description |
---|---|
protected Tuple<String,Integer> |
DockerHelper.map(String service,
String host,
int port) |
Modifier and Type | Method and Description |
---|---|
List<Tuple<String,String>> |
CallContext.getMDC()
Returns the current mapped diagnostic context (MDC).
|
List<Tuple<String,LocalDateTime>> |
Tasks.getScheduledTasks()
Returns a list containing the name and estimated execution time of all scheduled tasks which
are waiting for their execution.
|
Modifier and Type | Method and Description |
---|---|
Cache<K,V> |
Cache.onRemove(Callback<Tuple<K,V>> onRemoveCallback)
Sets the remove callback which is invoked once a value is removed from the cache.
|
Modifier and Type | Class and Description |
---|---|
class |
ComparableTuple<F extends Comparable<F>,S>
Provides a tuple of values where the key is used as comparator.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Tuple<K,V>,K,V> |
Tuple.firsts(Collection<T> tuples)
Extracts all first components of the given collection of tuples and returns them as list.
|
static <T extends Tuple<K,V>,K,V> |
Tuple.seconds(Collection<T> tuples)
Extracts all second components of the given collection of tuples and returns them as list.
|
Modifier and Type | Method and Description |
---|---|
static <F,S> Tuple<F,S> |
Tuple.create()
Creates a new tuple with both values set to null
|
static <F,S> Tuple<F,S> |
Tuple.create(F first)
Creates a tuple with a given value for first
|
static <F,S> Tuple<F,S> |
Tuple.create(F first,
S second)
Creates a tuple with a givens value for first and second
|
static Tuple<String,String> |
Strings.split(String input,
String separator)
Splits the given string at the first occurrence of the separator.
|
static Tuple<String,String> |
Strings.splitAtLast(String input,
String separator)
Splits the given string at the last occurrence of the separator.
|
static <K,V> Tuple<K,V> |
Tuple.valueOf(Map.Entry<K,V> entry)
Converts a
Map.Entry into a tuple. |
Modifier and Type | Method and Description |
---|---|
static <K,V> Stream<Tuple<K,V>> |
Tuple.flatten(Map.Entry<K,Collection<V>> entry)
Maps an entry which contains a collection as value into a
Stream of tuples, containing
the key of the entry along with a value of the collection. |
static <K,V> List<Tuple<K,V>> |
Tuple.fromMap(Map<K,V> map)
Converts a map into a list of tuples.
|
static <K,V> Collector<Tuple<K,V>,Map<K,V>,Map<K,V>> |
Tuple.toMap(Supplier<Map<K,V>> supplier)
|
static <K,V> Collector<Tuple<K,V>,Map<K,V>,Map<K,V>> |
Tuple.toMap(Supplier<Map<K,V>> supplier,
BinaryOperator<V> merger)
|
static <K,V> Collector<Tuple<K,V>,MultiMap<K,V>,MultiMap<K,V>> |
Tuple.toMultiMap(Supplier<MultiMap<K,V>> supplier)
|
Modifier and Type | Method and Description |
---|---|
static <K,V> Map<K,V> |
Tuple.toMap(Collection<Tuple<K,V>> values)
Converts a collection of tuples into a map
|
Modifier and Type | Method and Description |
---|---|
<P> Collection<Tuple<String,P>> |
GlobalContext.getNamedParts(Class<P> partInterface)
Returns all parts which are currently registered for the given lookup class and have a name attached.
|
Modifier and Type | Method and Description |
---|---|
List<Tuple<String,String>> |
Incident.getMDC()
Returns the mapped diagnostic context describing the exact situation of the error.
|
Constructor and Description |
---|
Incident(String category,
String location,
List<Tuple<String,String>> mdc,
HandledException exception) |
Modifier and Type | Method and Description |
---|---|
protected abstract Tuple<String,Integer> |
PortMapper.map(String service,
String host,
int port)
Maps the given port for the given service.
|
static Tuple<String,Integer> |
PortMapper.mapPort(String service,
String host,
int port)
Maps the given port for the given service.
|
Copyright © 2018. All rights reserved.