| Modifier and Type | Class and Description |
|---|---|
class |
RawFileCollector.ArchiveCloser |
| Modifier and Type | Field and Description |
|---|---|
static ExecutorService |
EXECUTOR_SERVICE |
static int |
FAILURE_SLEEP_DELAY |
int |
filesPerArchive |
static int |
MAX_CONSECUTIVE_FAILURE_COUNT |
| Constructor and Description |
|---|
RawFileCollector(int filesPerArchive,
FileNameGenerator indexFileNameGenerator,
NetworkClient networkClient,
IErrorLogger errorLogger,
File outputDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClassWeaveInfo(byte[] byteArray) |
void |
addProbeId(int probeId) |
void |
addValueId(long valueId) |
void |
drainItemsToIndex(ArchivedIndexWriter writer) |
BlockingQueue<com.insidious.common.UploadFile> |
getFileQueue() |
void |
indexObjectTypeEntry(long id,
int typeId) |
void |
indexStringEntry(long id,
String stringObject) |
void |
indexTypeEntry(int typeId,
String typeName,
byte[] typeInfoBytes) |
void |
run() |
void |
shutdown() |
void |
upload() |
public static final int MAX_CONSECUTIVE_FAILURE_COUNT
public static final int FAILURE_SLEEP_DELAY
public static final ExecutorService EXECUTOR_SERVICE
public int filesPerArchive
public RawFileCollector(int filesPerArchive,
FileNameGenerator indexFileNameGenerator,
NetworkClient networkClient,
IErrorLogger errorLogger,
File outputDir)
throws IOException
IOExceptionpublic void shutdown()
throws IOException
IOExceptionpublic void upload()
throws IOException
IOExceptionpublic void drainItemsToIndex(ArchivedIndexWriter writer)
public void indexObjectTypeEntry(long id,
int typeId)
public void indexStringEntry(long id,
String stringObject)
public void addValueId(long valueId)
public void addProbeId(int probeId)
public void indexTypeEntry(int typeId,
String typeName,
byte[] typeInfoBytes)
public void addClassWeaveInfo(byte[] byteArray)
public BlockingQueue<com.insidious.common.UploadFile> getFileQueue()
Copyright © 2023. All rights reserved.