com.nhncorp.neptune.client
Interface AsyncDataReceiver


public interface AsyncDataReceiver

NTable has a get() method which allows applications to asynchronously receive data. The result of retrieval is returned through DataReceiver specified in the parameter.


Method Summary
 void error(Row.Key rowKey, java.lang.Exception exception)
          Called when received exception
 void receive(Row.Key rowKey, Row row)
          Called when single Row fetched.
 void timeout()
          Called when timed out
 

Method Detail

receive

void receive(Row.Key rowKey,
             Row row)
             throws java.io.IOException
Called when single Row fetched.

Parameters:
rowKey -
row -
Throws:
java.io.IOException

error

void error(Row.Key rowKey,
           java.lang.Exception exception)
Called when received exception

Parameters:
rowKey -
exception -

timeout

void timeout()
Called when timed out