public class DumpReaderConfiguration extends Object
DumpReader
.DumpReader
,
DumpConsumer
Modifier and Type | Field and Description |
---|---|
static int |
DFLT_THREAD_CNT
Default thread count.
|
static Duration |
DFLT_TIMEOUT
Default timeout.
|
Constructor and Description |
---|
DumpReaderConfiguration(File dir,
DumpConsumer cnsmr) |
DumpReaderConfiguration(File dir,
DumpConsumer cnsmr,
int thCnt,
Duration timeout,
boolean failFast,
boolean keepBinary,
String[] cacheGroupNames,
boolean skipCopies,
EncryptionSpi encSpi) |
Modifier and Type | Method and Description |
---|---|
String[] |
cacheGroupNames() |
DumpConsumer |
consumer() |
File |
dumpRoot() |
EncryptionSpi |
encryptionSpi() |
boolean |
failFast() |
boolean |
keepBinary() |
boolean |
skipCopies() |
int |
threadCount() |
Duration |
timeout() |
public static final Duration DFLT_TIMEOUT
public static final int DFLT_THREAD_CNT
public DumpReaderConfiguration(File dir, DumpConsumer cnsmr)
dir
- Root dump directory.cnsmr
- Dump consumer.public DumpReaderConfiguration(File dir, DumpConsumer cnsmr, int thCnt, Duration timeout, boolean failFast, boolean keepBinary, String[] cacheGroupNames, boolean skipCopies, EncryptionSpi encSpi)
dir
- Root dump directory.cnsmr
- Dump consumer.thCnt
- Count of threads to consume dumped partitions.timeout
- Timeout of dump reader invocation.failFast
- Stop processing partitions if consumer fail to process one.keepBinary
- If true
then don't deserialize KeyCacheObject
and CacheObject
.cacheGroupNames
- Cache group names.skipCopies
- Skip copies.encSpi
- Encryption SPI.public File dumpRoot()
public DumpConsumer consumer()
public int threadCount()
public Duration timeout()
public boolean failFast()
True
if stop processing after first consumer error.public boolean keepBinary()
true
then don't deserialize KeyCacheObject
and CacheObject
.public String[] cacheGroupNames()
public boolean skipCopies()
public EncryptionSpi encryptionSpi()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023