Uses of Interface
org.refcodes.logger.TrimLogger
-
Uses of TrimLogger in org.refcodes.logger
Modifier and TypeClassDescriptionclass
PartedTrimLogger<T,
P extends T> ThePartedTrimLogger
is a ready to use implementation of a partedTrimLogger
extending theAbstractPartedTrimLogger
.class
TheTrimLoggerComposite
is a ready to use implementation of a compositeTrimLogger
extending theAbstractTrimLoggerComposite
.Modifier and TypeMethodDescriptionstatic <L extends TrimLogger<T>,
T>
voidLoggerUtility.clearLogs
(Collection<L> aLoggers) Functionality to address multipleTrimLogger
instances to clear the providedTrimLogger
instances (multi-threaded).static <L extends TrimLogger<T>,
T>
voidLoggerUtility.deleteLogs
(org.refcodes.criteria.Criteria aCriteria, Collection<L> aLoggers) Functionality to query multipleTrimLogger
instances with the same query to delete log lines from the providedTrimLogger
instances (multi-threaded).Modifier and TypeMethodDescriptionprotected TrimLogger<T>
TrimLoggerFactoryComposite.createCompositeLogger
(TrimLogger<T>[] aLoggers) To be implemented by sub-classes, this method creates aLoggerComposite
(or its sub-classes) from the providedLogger
instances (or its sub-types).Modifier and TypeMethodDescriptionprotected TrimLogger<T>
TrimLoggerFactoryComposite.createCompositeLogger
(TrimLogger<T>[] aLoggers) To be implemented by sub-classes, this method creates aLoggerComposite
(or its sub-classes) from the providedLogger
instances (or its sub-types).ModifierConstructorDescriptionTrimLoggerComposite
(org.refcodes.controlflow.ExecutionStrategy aComponentExecutionStrategy, TrimLogger<T>... aLoggers) Similar to theTrimLoggerComposite(TrimLogger...)
with the additional option of determining the execution strategy of the state change request calls for the encapsulatedTrimLogger
instances (as ofComponentComposite
).TrimLoggerComposite
(TrimLogger<T>... aLoggers) Instantiates a newTrimLoggerComposite
with the according parameters.ModifierConstructorDescriptionPartedTrimLogger
(org.refcodes.controlflow.ExecutionStrategy aComponentExecutionStrategy, org.refcodes.tabular.Column<P> aPartitionColumn, String aDefaultLoggerName, LoggerFactory<TrimLogger<T>> aLoggerFactory, boolean isPartitionAutoInitialize) Similar to thePartedTrimLogger(Column, LoggerFactory, boolean)
constructor with the additional option of determining the execution strategy of the state change request calls for the encapsulatedTrimLogger
instances (as ofComponentComposite
).PartedTrimLogger
(org.refcodes.controlflow.ExecutionStrategy aComponentExecutionStrategy, org.refcodes.tabular.Column<P> aPartitionColumn, LoggerFactory<TrimLogger<T>> aLoggerFactory, boolean isPartitionAutoInitialize) Similar to thePartedTrimLogger(Column, LoggerFactory, boolean)
constructor with the additional option of determining the execution strategy of the state change request calls for the encapsulatedTrimLogger
instances (as ofComponentComposite
).PartedTrimLogger
(org.refcodes.tabular.Column<P> aPartitionColumn, String aDefaultLoggerName, LoggerFactory<TrimLogger<T>> aLoggerFactory, boolean isPartitionAutoInitialize) Instantiates a newPartedTrimLogger
with the according parameters.PartedTrimLogger
(org.refcodes.tabular.Column<P> aPartitionColumn, LoggerFactory<TrimLogger<T>> aLoggerFactory, boolean isPartitionAutoInitialize) Instantiates a newPartedTrimLogger
with the according parameters.TrimLoggerFactoryComposite
(LoggerFactory<TrimLogger<T>> aLoggerFactory, int aNumEndpoints) Instantiates a new composite trim logger factory impl.