Uses of Interface
org.refcodes.logger.QueryLogger
-
Uses of QueryLogger in org.refcodes.logger
Modifier and TypeInterfaceDescriptioninterface
TrimLogger<T>
TheTrimLogger
extends theQueryLogger
with the functionality to removeRecord
instances previously being logged by providing the accordingCriteria
.Modifier and TypeClassDescriptionclass
PartedQueryLogger<T,
P extends T> ThePartedQueryLogger
is a ready to use implementation of a partedQueryLogger
extending theAbstractPartedQueryLogger
.class
PartedTrimLogger<T,
P extends T> ThePartedTrimLogger
is a ready to use implementation of a partedTrimLogger
extending theAbstractPartedTrimLogger
.class
TheQueryLoggerComposite
is a ready to use implementation of a compositeQueryLogger
extending theAbstractQueryLoggerComposite
.class
TheTrimLoggerComposite
is a ready to use implementation of a compositeTrimLogger
extending theAbstractTrimLoggerComposite
.Modifier and TypeMethodDescriptionstatic <L extends QueryLogger<T>,
T>
org.refcodes.tabular.Records<T>LoggerUtility.findLogs
(org.refcodes.criteria.Criteria aCriteria, org.refcodes.tabular.Header<T> aHeader, int aLimit, Collection<L> aLoggers, org.refcodes.controlflow.InvocationStrategy aRecordServeStrategy) Functionality to query multipleQueryLogger
instances with the same query and returning a single compositeRecords
instance containing allRecord
instances returned by the queriedQueryLogger
instances (multi-threaded).Modifier and TypeMethodDescriptionprotected QueryLogger<T>
QueryLoggerFactoryComposite.createCompositeLogger
(QueryLogger<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 QueryLogger<T>
QueryLoggerFactoryComposite.createCompositeLogger
(QueryLogger<T>[] aLoggers) To be implemented by sub-classes, this method creates aLoggerComposite
(or its sub-classes) from the providedLogger
instances (or its sub-types).ModifierConstructorDescriptionQueryLoggerComposite
(org.refcodes.controlflow.ExecutionStrategy aComponentExecutionStrategy, QueryLogger<T>... aLoggers) Similar to theQueryLoggerComposite(QueryLogger...)
with the additional option of determining the execution strategy of the state change request calls for the encapsulatedQueryLogger
instances (as ofComponentComposite
).QueryLoggerComposite
(QueryLogger<T>... aLoggers) Instantiates a newQueryLoggerComposite
composed of the providedQueryLogger
instances.ModifierConstructorDescriptionPartedQueryLogger
(org.refcodes.controlflow.ExecutionStrategy aComponentExecutionStrategy, org.refcodes.tabular.Column<P> aPartitionColumn, String aDefaultLoggerName, LoggerFactory<QueryLogger<T>> aLoggerFactory, boolean isPartitionAutoInitialize) Similar to thePartedQueryLogger(Column, LoggerFactory, boolean)
with the additional option of determining the execution strategy of the state change request calls for the encapsulatedQueryLogger
instances (as ofComponentComposite
).PartedQueryLogger
(org.refcodes.controlflow.ExecutionStrategy aComponentExecutionStrategy, org.refcodes.tabular.Column<P> aPartitionColumn, LoggerFactory<QueryLogger<T>> aLoggerFactory, boolean isPartitionAutoInitialize) Similar to thePartedQueryLogger(Column, LoggerFactory, boolean)
with the additional option of determining the execution strategy of the state change request calls for the encapsulatedQueryLogger
instances (as ofComponentComposite
).PartedQueryLogger
(org.refcodes.tabular.Column<P> aPartitionColumn, String aDefaultLoggerName, LoggerFactory<QueryLogger<T>> aLoggerFactory, boolean isPartitionAutoInitialize) Instantiates a newPartedQueryLogger
with the according parameters.PartedQueryLogger
(org.refcodes.tabular.Column<P> aPartitionColumn, LoggerFactory<QueryLogger<T>> aLoggerFactory, boolean isPartitionAutoInitialize) Instantiates a newPartedQueryLogger
with the according parameters.QueryLoggerFactoryComposite
(LoggerFactory<QueryLogger<T>> aLoggerFactory, int aNumEndpoints) Instantiates a new composite query logger factory impl.