public static final class FakeDataSet.FakeData.Segment extends Object
FakeDataSet.FakeData. May consist of an action or exception instead of actual data.| Modifier and Type | Field | Description |
|---|---|---|
Runnable |
action |
|
long |
byteOffset |
|
int |
bytesRead |
|
byte[] |
data |
|
IOException |
exception |
|
boolean |
exceptionCleared |
|
boolean |
exceptionThrown |
|
int |
length |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isActionSegment() |
|
boolean |
isErrorSegment() |
@Nullable public final IOException exception
@Nullable public final byte[] data
public final int length
public final long byteOffset
@Nullable public final Runnable action
public boolean exceptionThrown
public boolean exceptionCleared
public int bytesRead