L
- The type of the TrimLogger
to be created.T
- The type of the Record
instances managed by the
Logger
.P
- The type of the Column
's value used for partitioning the
TrimLogger
.public abstract class AbstractPartedTrimLogger<L extends TrimLogger<T>,T,P extends T> extends AbstractPartedQueryLogger<L,T,P> implements TrimLogger<T>
AbstractPartedTrimLogger
extends the
AbstractPartedQueryLogger
with the functionality of a
TrimLogger
. Delete operations with a query such as
deleteLogs(Criteria)
are applied to the partitions in the same
manner as done for AbstractPartedQueryLogger.findLogs(Criteria)
.LOGGER
Constructor and Description |
---|
AbstractPartedTrimLogger(org.refcodes.tabular.Column<P> aPartitionColumn,
LoggerFactory<L> aLoggerFactory,
boolean isPartitionAutoInitialize) |
AbstractPartedTrimLogger(org.refcodes.tabular.Column<P> aPartitionColumn,
String aDefaultLoggerName,
LoggerFactory<L> aLoggerFactory,
boolean isPartitionAutoInitialize) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
deleteLogs(org.refcodes.criteria.Criteria aCriteria)
Deletes logged
Record instances according to the provided
Criteria . |
findLogs, findLogs, findLogs, findLogs, findLogs, findLogs, findLogs, getPartitionLoggers
decomposePartition, destroyPartition, flushPartition, getFallbackLogger, getLoggers, getPartitionColumn, getPartitionLogger, getPartitionUid, hasPartition, initPartition, log
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public AbstractPartedTrimLogger(org.refcodes.tabular.Column<P> aPartitionColumn, LoggerFactory<L> aLoggerFactory, boolean isPartitionAutoInitialize)
public AbstractPartedTrimLogger(org.refcodes.tabular.Column<P> aPartitionColumn, String aDefaultLoggerName, LoggerFactory<L> aLoggerFactory, boolean isPartitionAutoInitialize)
public void deleteLogs(org.refcodes.criteria.Criteria aCriteria)
TrimLogger
Record
instances according to the provided
Criteria
.deleteLogs
in interface TrimLogger<T>
aCriteria
- The Criteria
to be applied when deleting
previously logged Record
instances.public void clear()
clear
in interface org.refcodes.collection.Clearable
Copyright © 2016. All rights reserved.