| Package | Description |
|---|---|
| org.archive.io |
ARC file reading and writing.
|
| org.archive.io.arc | |
| org.archive.io.warc |
Experimental WARC Writer and Readers.
|
| Modifier and Type | Field and Description |
|---|---|
protected BlockingQueue<WriterPoolMember> |
WriterPool.availableWriters
round-robin queue of available writers
|
| Modifier and Type | Method and Description |
|---|---|
WriterPoolMember |
WriterPool.borrowFile()
Check out a
WriterPoolMember. |
protected WriterPoolMember |
WriterPool.makeNewWriterIfAppropriate()
Create a new writer instance, if still below maxActive count.
|
protected abstract WriterPoolMember |
WriterPool.makeWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<WriterPoolMember> |
WriterPool.drainAllWriters()
Drains all the active writers from
WriterPool.availableWriters, blocking to
wait for any writers currently in use to become available. |
| Modifier and Type | Method and Description |
|---|---|
void |
WriterPool.destroyWriter(WriterPoolMember writer)
Discard a previously-used writer, cleanly closing it and leaving it out
of the pool.
|
void |
WriterPool.invalidateFile(WriterPoolMember f)
Close and discard a writer that experienced a potentially-corrupting
error.
|
void |
WriterPool.returnFile(WriterPoolMember writer)
Return a writer, for likely reuse unless (1) writer's current file has
reached its target size; and (2) there's been no demand for additional
writers since the last time a new writer-file was rolled-over.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ARCWriter
Write ARC files.
|
| Modifier and Type | Method and Description |
|---|---|
protected WriterPoolMember |
ARCWriterPool.makeWriter() |
| Modifier and Type | Class and Description |
|---|---|
class |
WARCWriter
WARC implementation.
|
| Modifier and Type | Method and Description |
|---|---|
protected WriterPoolMember |
WARCWriterPool.makeWriter() |
Copyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.