public class WARCWriterPool extends WriterPool
availableWriters, currentActive, DEFAULT_MAX_ACTIVE, DEFAULT_MAX_WAIT_FOR_IDLE, LARGEST_MAX_ACTIVE, lastWriterNeededTime, lastWriterRolloverTime, maxActive, maxWait, serialNo, settings| Constructor and Description |
|---|
WARCWriterPool(AtomicInteger serial,
WARCWriterPoolSettings settings,
int poolMaximumActive,
int poolMaximumWait)
Constructor
|
WARCWriterPool(WARCWriterPoolSettings settings,
int poolMaximumActive,
int poolMaximumWait)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected WriterPoolMember |
makeWriter() |
borrowFile, close, destroyWriter, drainAllWriters, flush, getNumActive, getNumIdle, getPoolState, getSerialNo, getSettings, invalidateFile, jsonStatus, makeNewWriterIfAppropriate, returnFilepublic WARCWriterPool(WARCWriterPoolSettings settings, int poolMaximumActive, int poolMaximumWait)
settings - Settings for this pool.poolMaximumActive - poolMaximumWait - public WARCWriterPool(AtomicInteger serial, WARCWriterPoolSettings settings, int poolMaximumActive, int poolMaximumWait)
serial - Used to generate unique filename sequencessettings - Settings for this pool.poolMaximumActive - poolMaximumWait - protected WriterPoolMember makeWriter()
makeWriter in class WriterPoolCopyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.