org.jboss.messaging.core.asyncio
Interface AIOCallback

All Known Subinterfaces:
IOCallback

public interface AIOCallback

The interface used AIO Callbacks.

Author:
clebert.suconic@jboss.com

Method Summary
 void done()
          Leave this method as soon as possible, or you would be blocking the whole notification thread
 void onError(int errorCode, java.lang.String errorMessage)
          Observation: The whole file will be probably failing if this happens.
 

Method Detail

done

void done()
Leave this method as soon as possible, or you would be blocking the whole notification thread


onError

void onError(int errorCode,
             java.lang.String errorMessage)
Observation: The whole file will be probably failing if this happens. Like, if you delete the file, you will start to get errors for these operations



Copyright © 2006 JBoss Inc. All Rights Reserved.