private static class ScannerContext.ProgressFields extends Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
batch |
(package private) long |
dataSize |
private static int |
DEFAULT_BATCH |
private static long |
DEFAULT_SIZE |
(package private) long |
heapSize |
Constructor and Description |
---|
ProgressFields()
Fields keep their default values.
|
ProgressFields(int batch,
long size,
long heapSize) |
Modifier and Type | Method and Description |
---|---|
(package private) int |
getBatch() |
(package private) long |
getDataSize() |
(package private) long |
getHeapSize() |
(package private) void |
setBatch(int batch) |
(package private) void |
setDataSize(long dataSize) |
(package private) void |
setFields(int batch,
long dataSize,
long heapSize)
Set all fields together.
|
(package private) void |
setHeapSize(long heapSize) |
String |
toString() |
private static int DEFAULT_BATCH
private static long DEFAULT_SIZE
int batch
long dataSize
long heapSize
ProgressFields()
ProgressFields(int batch, long size, long heapSize)
void setFields(int batch, long dataSize, long heapSize)
int getBatch()
void setBatch(int batch)
long getDataSize()
long getHeapSize()
void setDataSize(long dataSize)
void setHeapSize(long heapSize)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.