|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.platform.admin.apiimpl.SubSystemAdminAPIImpl
com.metamatrix.server.admin.apiimpl.QueryAdminAPIImpl
public class QueryAdminAPIImpl
| Method Summary | |
|---|---|
void |
cancelRequest(RequestID requestID)
Cancel a single query for the user session. |
void |
cancelRequest(RequestID requestID,
int nodeID)
Cancel an atomic query for the user session. |
void |
cancelRequests(MetaMatrixSessionID userSessionID)
Cancel all queries for the user session. |
java.util.Collection |
getAllRequests()
Return all queries that are in the system. |
static QueryAdminAPI |
getInstance()
|
java.util.Collection |
getRequestsForSession(MetaMatrixSessionID userSessionID)
Return all queries that are currently being processed for the user session. |
| Methods inherited from class com.metamatrix.platform.admin.apiimpl.SubSystemAdminAPIImpl |
|---|
getSessionID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static QueryAdminAPI getInstance()
throws MetaMatrixComponentException
MetaMatrixComponentException
public java.util.Collection getAllRequests()
throws AuthorizationException,
InvalidSessionException,
MetaMatrixComponentException
getAllRequests in interface QueryAdminAPIcallerSessionID - ID of the caller's current session.
Request objects.
MetaMatrixComponentException - if an error occurs in communicating with a component.
AuthorizationException - if caller is not authorized to perform this method.
InvalidSessionException - if the callerSessionID is not valid or is expired.
public java.util.Collection getRequestsForSession(MetaMatrixSessionID userSessionID)
throws AuthorizationException,
InvalidSessionException,
MetaMatrixComponentException
getRequestsForSession in interface QueryAdminAPIcallerSessionID - ID of the caller's current session.userSessionID - the primary identifier for the user account.
Request objects.
MetaMatrixComponentException - if an error occurs in communicating with a component.
AuthorizationException - if caller is not authorized to perform this method.
InvalidSessionException - if the callerSessionID is not valid or is expired.
public void cancelRequest(RequestID requestID)
throws AuthorizationException,
InvalidSessionException,
InvalidRequestIDException,
MetaMatrixComponentException
cancelRequest in interface QueryAdminAPIcallerSessionID - ID of the caller's current session.requestID - the identifier of the query to be cancelled.
InvalidRequestIDException - if the Request specified by the ID does not exist.
MetaMatrixComponentException - if an error occurs in communicating with a component.
AuthorizationException - if caller is not authorized to perform this method.
InvalidSessionException - if the callerSessionID is not valid or is expired.
public void cancelRequest(RequestID requestID,
int nodeID)
throws AuthorizationException,
InvalidSessionException,
InvalidRequestIDException,
MetaMatrixComponentException
cancelRequest in interface QueryAdminAPIcallerSessionID - ID of the caller's current session.requestID - the identifier of the query that is running.nodeid - identifies the atomic query to be cancelled.
InvalidRequestIDException - if the Request specified by the ID does not exist.
MetaMatrixComponentException - if an error occurs in communicating with a component.
AuthorizationException - if caller is not authorized to perform this method.
InvalidSessionException - if the callerSessionID is not valid or is expired.
public void cancelRequests(MetaMatrixSessionID userSessionID)
throws AuthorizationException,
InvalidSessionException,
MetaMatrixComponentException
cancelRequests in interface QueryAdminAPIcallerSessionID - ID of the caller's current session.userSessionID - the primary identifier for the user account.
MetaMatrixComponentException - if an error occurs in communicating with a component.
AuthorizationException - if caller is not authorized to perform this method.
InvalidSessionException - if the callerSessionID is not valid or is expired.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||