Class LocalSlaveStreamHandler.OnDiskStreamEvent

    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • bufferFile

        private final java.io.RandomAccessFile bufferFile
      • start

        private long start
      • end

        private long end
    • 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 interface IStreamEvent
        Throws:
        java.io.IOException