org.jboss.messaging.core.asyncio.impl
Interface TimedBufferObserver


public interface TimedBufferObserver

A TimedBufferObserver

Author:
Clebert Suconic

Method Summary
 void flushBuffer(java.nio.ByteBuffer buffer, java.util.List<AIOCallback> callbacks)
           
 int getRemainingBytes()
          Return the number of remaining bytes that still fit on the observer (file)
 java.nio.ByteBuffer newBuffer(int size, int limit)
           
 

Method Detail

flushBuffer

void flushBuffer(java.nio.ByteBuffer buffer,
                 java.util.List<AIOCallback> callbacks)

getRemainingBytes

int getRemainingBytes()
Return the number of remaining bytes that still fit on the observer (file)


newBuffer

java.nio.ByteBuffer newBuffer(int size,
                              int limit)


Copyright © 2006 JBoss Inc. All Rights Reserved.