Class LocalSlaveStreamHandler.OnDiskStreamEvent
- java.lang.Object
-
- com.carrotsearch.ant.tasks.junit4.LocalSlaveStreamHandler.OnDiskStreamEvent
-
- All Implemented Interfaces:
IEvent
,IStreamEvent
- Enclosing class:
- LocalSlaveStreamHandler
private static class LocalSlaveStreamHandler.OnDiskStreamEvent extends java.lang.Object implements IEvent, IStreamEvent
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.RandomAccessFile
bufferFile
private long
end
private long
start
private EventType
type
-
Constructor Summary
Constructors Constructor Description OnDiskStreamEvent(EventType type, java.io.RandomAccessFile streamsBuffer, long start, long end)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copyTo(java.io.OutputStream os)
EventType
getType()
-
-
-
Field Detail
-
bufferFile
private final java.io.RandomAccessFile bufferFile
-
start
private long start
-
end
private long end
-
type
private EventType type
-
-
Constructor Detail
-
OnDiskStreamEvent
public OnDiskStreamEvent(EventType type, java.io.RandomAccessFile streamsBuffer, long start, long end)
-
-
Method Detail
-
copyTo
public void copyTo(java.io.OutputStream os) throws java.io.IOException
- Specified by:
copyTo
in interfaceIStreamEvent
- Throws:
java.io.IOException
-
-