public class FProxyFetchResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
long |
eta |
FetchException |
failed
Failed
|
int |
failedBlocks
Failed blocks
|
int |
fatallyFailedBlocks
Fatally failed blocks
|
int |
fetchedBlocks
Fetched blocks
|
boolean |
finalizedBlocks
Finalized blocks?
|
boolean |
goneToNetwork
Gone to network?
|
java.lang.String |
mimeType
If we have fetched the data, we know this.
|
int |
requiredBlocks
Required blocks
|
long |
size
If we have fetched the data, we know this.
|
long |
timeStarted
Creation time
|
int |
totalBlocks
Total blocks
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Must be called when fproxy has finished with the data
|
Bucket |
getData() |
int |
getFetchCount() |
boolean |
hasData() |
boolean |
hasWaited() |
boolean |
isFinished() |
void |
setFetchCount(int fetched) |
public final java.lang.String mimeType
public final long size
public final long timeStarted
public final boolean goneToNetwork
public final int totalBlocks
public final int requiredBlocks
public final int fetchedBlocks
public final int failedBlocks
public final int fatallyFailedBlocks
public final boolean finalizedBlocks
public final FetchException failed
public final long eta
public void close()
public boolean hasData()
public Bucket getData()
public boolean hasWaited()
public boolean isFinished()
public void setFetchCount(int fetched)
public int getFetchCount()