Modifier and Type | Field and Description |
---|---|
private final int | |
private static final byte[] | |
private final long | |
private boolean | |
private ChunkHeader | |
private static final int | |
private static final int | |
private final byte[] | |
private RecordingInput | |
private static final byte | |
private Path | |
private long | |
private final Recording | |
private final RepositoryFiles | |
private long |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public synchronized void | close()
Implements java. |
private void | |
private boolean | |
private boolean | |
private boolean | |
public synchronized byte[] | |
private byte[] | |
private byte[] | |
private byte[] | |
private byte[] | |
private void |
blockSize | back to summary |
---|---|
private final int blockSize |
EMPTY_ARRAY | back to summary |
---|---|
private static final byte[] EMPTY_ARRAY |
endTimeNanos | back to summary |
---|---|
private final long endTimeNanos |
first | back to summary |
---|---|
private boolean first |
header | back to summary |
---|---|
private ChunkHeader header |
HEADER_FILE_STATE_POSITION | back to summary |
---|---|
private static final int HEADER_FILE_STATE_POSITION |
HEADER_SIZE | back to summary |
---|---|
private static final int HEADER_SIZE |
headerBytes | back to summary |
---|---|
private final byte[] headerBytes |
input | back to summary |
---|---|
private RecordingInput input |
MODIFYING_STATE | back to summary |
---|---|
private static final byte MODIFYING_STATE |
path | back to summary |
---|---|
private Path path |
position | back to summary |
---|---|
private long position |
recording | back to summary |
---|---|
private final Recording recording |
repositoryFiles | back to summary |
---|---|
private final RepositoryFiles repositoryFiles |
startTimeNanos | back to summary |
---|---|
private long startTimeNanos |
OngoingStream | back to summary |
---|---|
public OngoingStream(Recording recording, int blockSize, long startTimeNanos, long endTimeNanos) |
close | back to summary |
---|---|
public synchronized void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
|
closeInput | back to summary |
---|---|
private void closeInput() |
ensureInput | back to summary |
---|---|
private boolean ensureInput() throws IOException |
ensurePath | back to summary |
---|---|
private boolean ensurePath() |
isRecordingClosed | back to summary |
---|---|
private boolean isRecordingClosed() |
read | back to summary |
---|---|
public synchronized byte[] read() throws IOException Implements abstract jdk.
|
readBytes | back to summary |
---|---|
private byte[] readBytes() throws IOException |
readBytes | back to summary |
---|---|
private byte[] readBytes(int size) throws IOException |
readNonHeader | back to summary |
---|---|
private byte[] readNonHeader(int size) throws IOException |
readWithHeader | back to summary |
---|---|
private byte[] readWithHeader(int size) throws IOException |
takeNap | back to summary |
---|---|
private void takeNap() throws IOException |