Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.ide.index
Interface ResultCallback<E>


public interface ResultCallback<E>

Callback used to notify indexing clients of query results.


Method Summary
 void done()
          The end of the results has been reached.
 void result(E e)
          A new result has been found.
 

Method Detail

result

void result(E e)
            throws java.lang.InterruptedException
A new result has been found.

Parameters:
e - the new result
Throws:
java.lang.InterruptedException - if the callback is interrupted

done

void done()
          throws java.lang.InterruptedException
The end of the results has been reached. This can be used to clean up any internal state. This might also be used to notify the UI that any busy cursor or progress indicator can be cleared. However, you must not use this method to block until all results are found. Doing so can cause deadlock.

Throws:
java.lang.InterruptedException - if the callback is interrupted

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.