ParallelFilteredProcessorRunner.Processor<WarcRecord>
, FlyweightPrototype<ParallelFilteredProcessorRunner.Processor<WarcRecord>>
, java.io.Closeable
, java.lang.AutoCloseable
public class IdentityProcessor extends java.lang.Object implements ParallelFilteredProcessorRunner.Processor<WarcRecord>
Modifier and Type | Field | Description |
---|---|---|
static IdentityProcessor |
INSTANCE |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
IdentityProcessor |
copy() |
|
static IdentityProcessor |
getInstance() |
|
WarcRecord |
process(WarcRecord r,
long storePosition) |
public static final IdentityProcessor INSTANCE
public static IdentityProcessor getInstance()
public WarcRecord process(WarcRecord r, long storePosition)
process
in interface ParallelFilteredProcessorRunner.Processor<WarcRecord>
public void close() throws java.io.IOException
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
java.io.IOException
public IdentityProcessor copy()
copy
in interface FlyweightPrototype<ParallelFilteredProcessorRunner.Processor<WarcRecord>>