Package | Description |
---|---|
org.refcodes.logger |
The "refcodes-logger" artifact provides the refcodes logging framework for
flexible logging of any data to any data sink (inclucing files, databases or
the console provided as alternate implementations).
|
org.refcodes.logger.factories |
Factories:
The
factories package contains factories as of the factory
pattern usually implementing one or more factory definitions as of the
"refcodes-factory" artifact. |
org.refcodes.logger.factories.impls |
Implementations:
The
impls package contains implementations of the types defined
by this artifact. |
org.refcodes.logger.impls |
Implementations:
The
impls package contains implementations of the types defined
by this artifact. |
org.refcodes.logger.mixins |
Mixins:
A mixin from the point of view of this artifact represents a snippet of
functionality which can be mixed into a type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
QueryLogger<T>
The
QueryLogger extends the Logger ; providing additional
functionality for querying once logged data Records by specifying
query Criteria or other query restrictions. |
interface |
TrimLogger<T>
The
TrimLogger extends the QueryLogger with the functionality
to remove Record instances previously being logged by providing the
according Criteria . |
Modifier and Type | Interface and Description |
---|---|
interface |
LoggerFactory<L extends Logger<?>>
A
LoggerFactory defines the methods required to factor Logger
instances. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCompositeLoggerFactory<L extends Logger<?>>
This
AbstractCompositeLoggerFactory is a LoggerFactory which
creates composite Logger instances, which themselves encapsulate
Logger instances. |
Modifier and Type | Method and Description |
---|---|
protected Logger<T> |
CompositeLoggerFactoryImpl.createCompositeLogger(Logger<T>[] aLoggers)
To be implemented by sub-classes, this method creates a
CompositeLoggerImpl (or its sub-classes) from the provided
Logger instances (or its sub-types). |
Modifier and Type | Method and Description |
---|---|
protected abstract L |
AbstractCompositeLoggerFactory.createCompositeLogger(L[] aLoggers)
To be implemented by sub-classes, this method creates a
CompositeLoggerImpl (or its sub-classes) from the provided
Logger instances (or its sub-types). |
protected Logger<T> |
CompositeLoggerFactoryImpl.createCompositeLogger(Logger<T>[] aLoggers)
To be implemented by sub-classes, this method creates a
CompositeLoggerImpl (or its sub-classes) from the provided
Logger instances (or its sub-types). |
Constructor and Description |
---|
CompositeLoggerFactoryImpl(LoggerFactory<Logger<T>> aLoggerFactory,
int aNumEndpoints) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCompositeLogger<L extends Logger<T>,T>
The
CompositeLoggerImpl uses the composite
pattern to forward logger functionality to a number encapsulated logger
instances. |
class |
AbstractPartedLogger<L extends Logger<T>,T,P extends T>
The
PartedLoggerImpl is a partitioning logger
which encapsulates Logger instances or
CompositeLoggerImpl instances (or sub-classes of
it) representing partitions. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCompositeLogger<L extends Logger<T>,T>
The
CompositeLoggerImpl uses the composite
pattern to forward logger functionality to a number encapsulated logger
instances. |
class |
AbstractCompositeQueryLogger<L extends QueryLogger<T>,T>
The
CompositeQueryLoggerImpl extends the
CompositeLoggerImpl with the query logger
functionality. |
class |
AbstractCompositeTrimLogger<L extends TrimLogger<T>,T>
The
CompositeTrimLoggerImpl extends the
CompositeQueryLoggerImpl with the trim
logger functionality. |
class |
AbstractPartedLogger<L extends Logger<T>,T,P extends T>
The
PartedLoggerImpl is a partitioning logger
which encapsulates Logger instances or
CompositeLoggerImpl instances (or sub-classes of
it) representing partitions. |
class |
AbstractPartedQueryLogger<L extends QueryLogger<T>,T,P extends T>
The
AbstractPartedQueryLogger extends the
AbstractPartedLogger with the functionality of a QueryLogger . |
class |
AbstractPartedTrimLogger<L extends TrimLogger<T>,T,P extends T>
The
AbstractPartedTrimLogger extends the
AbstractPartedQueryLogger with the functionality of a
TrimLogger . |
class |
CompositeLoggerImpl<T>
The
CompositeLoggerImpl is a ready to use implementation of a
composite Logger extending the AbstractCompositeLogger . |
class |
CompositeQueryLoggerImpl<T>
The
CompositeQueryLoggerImpl is a ready to use implementation of a
composite QueryLogger extending the
AbstractCompositeQueryLogger . |
class |
CompositeTrimLoggerImpl<T>
The
CompositeTrimLoggerImpl is a ready to use implementation of a
composite TrimLogger extending the
AbstractCompositeTrimLogger . |
class |
PartedLoggerImpl<T,P extends T>
The
PartedLoggerImpl is a ready to use implementation of a parted
Logger extending the AbstractPartedLogger . |
class |
PartedQueryLoggerImpl<T,P extends T>
The
PartedQueryLoggerImpl is a ready to use implementation of a
parted QueryLogger extending the AbstractPartedQueryLogger . |
class |
PartedTrimLoggerImpl<T,P extends T>
The
PartedTrimLoggerImpl is a ready to use implementation of a parted
TrimLogger extending the AbstractPartedTrimLogger . |
class |
SystemLoggerImpl
Very plain implementation of the logger interface, mainly used as fallback
Logger . |
Modifier and Type | Method and Description |
---|---|
void |
RuntimeLoggerImpl.setLogger(Logger<Object> aLogger)
Sets the logger for the logger property.
|
Constructor and Description |
---|
AbstractCompositeLogger(ExecutorService aExecutorService,
L... aLoggers)
Constructs an
AbstractCompositeLogger from the provided
Logger instances. |
AbstractCompositeLogger(L... aLoggers)
Constructs an
AbstractCompositeLogger from the provided
Logger instances. |
CompositeLoggerImpl(org.refcodes.controlflow.consts.ExecutionStrategy aComponentExecutionStrategy,
Logger<T>... aLoggers)
Similar to the
CompositeLoggerImpl.CompositeLoggerImpl(Logger...) with the
additional option of determining the execution strategy of the state
change request calls for the encapsulated Logger instances (as of
CompositeComponent ). |
CompositeLoggerImpl(Logger<T>... aLoggers) |
RuntimeLoggerImpl(Logger<Object> aLogger)
Constructs a
RuntimeLogger logging with the given Logger
and the desired LogPriority for the messages being logged and
upwards (from the given LogPriority.getPriority() and higher). |
RuntimeLoggerImpl(Logger<Object> aLogger,
LogPriority aPriority)
Constructs a
RuntimeLogger logging with the given Logger
and the desired LogPriority for the messages being logged and
upwards (from the given LogPriority.getPriority() and higher). |
RuntimeLoggerImpl(String aName,
Logger<Object> aLogger)
Constructs a
RuntimeLogger logging with the given Logger
and the desired LogPriority for the messages being logged and
upwards (from the given LogPriority.getPriority() and higher). |
RuntimeLoggerImpl(String aName,
Logger<Object> aLogger,
LogPriority aPriority)
Constructs a
RuntimeLogger logging with the given Logger
and the desired LogPriority for the messages being logged and
upwards (from the given LogPriority.getPriority() and higher). |
Constructor and Description |
---|
PartedLoggerImpl(org.refcodes.tabular.Column<P> aPartitionColumn,
LoggerFactory<Logger<T>> aLoggerFactory,
boolean isPartitionAutoInitialize) |
PartedLoggerImpl(org.refcodes.tabular.Column<P> aPartitionColumn,
String aDefaultLoggerName,
LoggerFactory<Logger<T>> aLoggerFactory,
boolean isPartitionAutoInitialize) |
PartedLoggerImpl(org.refcodes.controlflow.consts.ExecutionStrategy aComponentExecutionStrategy,
org.refcodes.tabular.Column<P> aPartitionColumn,
LoggerFactory<Logger<T>> aLoggerFactory,
boolean isPartitionAutoInitialize)
Similar to the
#PartedLoggerImpl(Column, LoggerToRuntimeLoggerFactory, boolean)
with the additional option of determining the execution strategy of the
state change request calls for the encapsulated Logger instances
(as of CompositeComponent ). |
PartedLoggerImpl(org.refcodes.controlflow.consts.ExecutionStrategy aComponentExecutionStrategy,
org.refcodes.tabular.Column<P> aPartitionColumn,
String aDefaultLoggerName,
LoggerFactory<Logger<T>> aLoggerFactory,
boolean isPartitionAutoInitialize)
Similar to the
#PartedLoggerImpl(Column, String, LoggerToRuntimeLoggerFactory, boolean) with
the additional option of determining the execution strategy of the state
change request calls for the encapsulated Logger instances (as of
CompositeComponent ). |
Modifier and Type | Interface and Description |
---|---|
interface |
LoggerAccessor<L extends Logger<?>>
Provides an accessor for a
Logger property. |
static interface |
LoggerAccessor.LoggerMutator<L extends Logger<?>>
Provides a mutator for a
Logger property. |
static interface |
LoggerAccessor.LoggerProperty<L extends Logger<?>>
Provides a
Logger property. |
Copyright © 2015. All rights reserved.