Class AsyncFileIOEvent

java.lang.Object
org.nustaq.kontraktor.asyncio.AsyncFileIOEvent

public class AsyncFileIOEvent
extends java.lang.Object
Created by moelrue on 5/4/15.
  • Constructor Summary

    Constructors 
    Constructor Description
    AsyncFileIOEvent​(long position, int read, java.nio.ByteBuffer buffer)  
  • Method Summary

    Modifier and Type Method Description
    byte[] copyBytes()  
    java.nio.ByteBuffer getBuffer()  
    long getNextPosition()  
    int getRead()  
    void reset()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AsyncFileIOEvent

      public AsyncFileIOEvent​(long position, int read, java.nio.ByteBuffer buffer)
  • Method Details

    • getNextPosition

      public long getNextPosition()
    • getBuffer

      public java.nio.ByteBuffer getBuffer()
    • copyBytes

      public byte[] copyBytes()
    • getRead

      public int getRead()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • reset

      public void reset()