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

E13403-08

oracle.ide.index
Interface QueryProgress

All Known Subinterfaces:
BackgroundTask<V>

public interface QueryProgress

Used to track the progress of an index query.


Method Summary
 boolean cancel()
          Cancel the query.
 int getProgress()
          Gets the current progress of this task.
 java.lang.String getProgressText()
          Gets a string describing the current progress of the task.
 

Method Detail

getProgress

int getProgress()
Gets the current progress of this task. This is a number between 0 and 100.

Returns:
the current progress of this task

getProgressText

java.lang.String getProgressText()
Gets a string describing the current progress of the task. This is a translated string intended for display to the user.

Returns:
a description of the progress of this task

cancel

boolean cancel()
Cancel the query.

Returns:
false if the query could not be cancelled, typically because it has already completed normally; true otherwise

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

E13403-08

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