|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CancellableQuery
A simple interface that allows tracking an executing query that can be cancelled.
Method Summary | |
---|---|
boolean |
cancel()
Cancel the query if it is currently running. |
QueryResults |
getResults()
Execute the query and get the results. |
Method Detail |
---|
QueryResults getResults() throws QueryCancelledException, RepositoryException
QueryCancelledException
- if the query was cancelled
RepositoryException
- if there was a problem executing the queryboolean cancel()
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |