T
- The type of the Record
instances managed by the
Logger
.P
- The type of the Column
's value used for partitioning the
Logger
.public class PartedTrimLoggerImpl<T,P extends T> extends AbstractPartedTrimLogger<TrimLogger<T>,T,P> implements org.refcodes.component.CompositeComponent
PartedTrimLoggerImpl
is a ready to use implementation of a parted
TrimLogger
extending the AbstractPartedTrimLogger
.org.refcodes.component.CompositeComponent.ExtendedCompositeComponent<CTX,CON>
org.refcodes.component.LifeCycleComponent.LifeCycleAutomaton, org.refcodes.component.LifeCycleComponent.UncheckedLifeCycleComponent
org.refcodes.component.Initializable.InitializeAutomaton, org.refcodes.component.Initializable.InitializeBuilder<B extends org.refcodes.component.Initializable.InitializeBuilder<B>>, org.refcodes.component.Initializable.UncheckedInitializable
org.refcodes.component.Startable.StartAutomaton, org.refcodes.component.Startable.StartBuilder<B extends org.refcodes.component.Startable.StartBuilder<B>>, org.refcodes.component.Startable.UncheckedStartable
org.refcodes.component.Pausable.PauseAutomaton, org.refcodes.component.Pausable.PauseBuilder<B extends org.refcodes.component.Pausable.PauseBuilder<B>>, org.refcodes.component.Pausable.UncheckedPausable
org.refcodes.component.Resumable.ResumeAutomaton, org.refcodes.component.Resumable.ResumeBuilder<B extends org.refcodes.component.Resumable.ResumeBuilder<B>>, org.refcodes.component.Resumable.UncheckedResumable
org.refcodes.component.Stoppable.StopAutomaton, org.refcodes.component.Stoppable.StopBuilder<B extends org.refcodes.component.Stoppable.StopBuilder<B>>, org.refcodes.component.Stoppable.UncheckedStoppable
org.refcodes.component.Destroyable.DestroyAutomaton
org.refcodes.component.DeviceComponent.DeviceAutomaton
org.refcodes.component.Openable.OpenAutomaton
org.refcodes.component.Closable.CloseAutomaton
LOGGER
Constructor and Description |
---|
PartedTrimLoggerImpl(org.refcodes.tabular.Column<P> aPartitionColumn,
LoggerFactory<TrimLogger<T>> aLoggerFactory,
boolean isPartitionAutoInitialize) |
PartedTrimLoggerImpl(org.refcodes.tabular.Column<P> aPartitionColumn,
String aDefaultLoggerName,
LoggerFactory<TrimLogger<T>> aLoggerFactory,
boolean isPartitionAutoInitialize) |
PartedTrimLoggerImpl(org.refcodes.controlflow.ExecutionStrategy aComponentExecutionStrategy,
org.refcodes.tabular.Column<P> aPartitionColumn,
LoggerFactory<TrimLogger<T>> aLoggerFactory,
boolean isPartitionAutoInitialize)
Similar to the
#PartedTrimLoggerImpl(Column, LoggerToRuntimeLoggerFactory, boolean) with the
additional option of determining the execution strategy of the state
change request calls for the encapsulated TrimLogger instances
(as of CompositeComponent ). |
PartedTrimLoggerImpl(org.refcodes.controlflow.ExecutionStrategy aComponentExecutionStrategy,
org.refcodes.tabular.Column<P> aPartitionColumn,
String aDefaultLoggerName,
LoggerFactory<TrimLogger<T>> aLoggerFactory,
boolean isPartitionAutoInitialize)
Similar to the
#PartedTrimLoggerImpl(Column, String, LoggerToRuntimeLoggerFactory, boolean)
with the additional option of determining the execution strategy of the
state change request calls for the encapsulated TrimLogger
instances (as of CompositeComponent ). |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
decompose() |
void |
destroy() |
void |
dispose() |
void |
flush() |
void |
initialize() |
void |
open() |
void |
pause() |
void |
reset() |
void |
resume() |
void |
start() |
void |
stop() |
clear, deleteLogs
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 PartedTrimLoggerImpl(org.refcodes.tabular.Column<P> aPartitionColumn, LoggerFactory<TrimLogger<T>> aLoggerFactory, boolean isPartitionAutoInitialize)
public PartedTrimLoggerImpl(org.refcodes.tabular.Column<P> aPartitionColumn, String aDefaultLoggerName, LoggerFactory<TrimLogger<T>> aLoggerFactory, boolean isPartitionAutoInitialize)
public PartedTrimLoggerImpl(org.refcodes.controlflow.ExecutionStrategy aComponentExecutionStrategy, org.refcodes.tabular.Column<P> aPartitionColumn, LoggerFactory<TrimLogger<T>> aLoggerFactory, boolean isPartitionAutoInitialize)
#PartedTrimLoggerImpl(Column, LoggerToRuntimeLoggerFactory, boolean)
with the
additional option of determining the execution strategy of the state
change request calls for the encapsulated TrimLogger
instances
(as of CompositeComponent
).
aComponentExecutionStrategy
- The strategy to be used when invoking
a component's (encapsulated TrimLogger
instance's) state
change request call (as of CompositeComponent
).public PartedTrimLoggerImpl(org.refcodes.controlflow.ExecutionStrategy aComponentExecutionStrategy, org.refcodes.tabular.Column<P> aPartitionColumn, String aDefaultLoggerName, LoggerFactory<TrimLogger<T>> aLoggerFactory, boolean isPartitionAutoInitialize)
#PartedTrimLoggerImpl(Column, String, LoggerToRuntimeLoggerFactory, boolean)
with the additional option of determining the execution strategy of the
state change request calls for the encapsulated TrimLogger
instances (as of CompositeComponent
).
aComponentExecutionStrategy
- The strategy to be used when invoking
a component's (encapsulated TrimLogger
instance's) state
change request call (as of CompositeComponent
).public void initialize() throws org.refcodes.component.InitializeException
initialize
in interface org.refcodes.component.Initializable
org.refcodes.component.InitializeException
public void start() throws org.refcodes.component.StartException
start
in interface org.refcodes.component.Startable
org.refcodes.component.StartException
public void pause() throws org.refcodes.component.PauseException
pause
in interface org.refcodes.component.Pausable
org.refcodes.component.PauseException
public void resume() throws org.refcodes.component.ResumeException
resume
in interface org.refcodes.component.Resumable
org.refcodes.component.ResumeException
public void stop() throws org.refcodes.component.StopException
stop
in interface org.refcodes.component.Stoppable
org.refcodes.component.StopException
public void decompose()
decompose
in interface org.refcodes.component.Decomposeable
public void flush() throws org.refcodes.component.OpenException
public void destroy()
destroy
in interface org.refcodes.component.Destroyable
public void reset()
reset
in interface org.refcodes.component.Resetable
public void open() throws org.refcodes.component.OpenException
open
in interface org.refcodes.component.Openable
org.refcodes.component.OpenException
public void close()
close
in interface org.refcodes.component.Closable
public void dispose()
dispose
in interface org.refcodes.mixin.Disposable
Copyright © 2016. All rights reserved.