Package com.dtolabs.rundeck.core.utils
Interface LogBufferManager<D,T extends LogBuffer<D>>
-
- Type Parameters:
D
- datatypeT
- log buffer type
- All Known Implementing Classes:
LogEventBufferManager
,StringLogManager
public interface LogBufferManager<D,T extends LogBuffer<D>>
Manager for log buffers for a data type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
create(java.nio.charset.Charset charset)
Create a new log buffer with the charsetvoid
flush(java.util.function.Consumer<D> writer)
Flush all buffers with the consumer
-