|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@RolesAllowed(value="Admin.ProductAdmin") public interface RuntimeStateAdmin
This interface defines the methods to interact with the Teiid system during runtime.
Method Summary | |
---|---|
void |
cancelRequest(java.lang.String identifier)
Cancel Request |
void |
cancelSourceRequest(java.lang.String identifier)
Cancel Source Request |
void |
changeVDBStatus(java.lang.String name,
java.lang.String version,
int status)
Change the status of a Deployed VDB |
void |
clearCache(java.lang.String cacheIdentifier)
Clear the cache or caches specified by the cacheIdentifier. |
void |
restart()
Restart System |
void |
shutdown(int millisToWait)
Stop the MM Query. |
void |
startConnectorBinding(java.lang.String connectorBindingIdentifier)
Start Connector Binding |
void |
stopConnectorBinding(java.lang.String connectorBindingIdentifier,
boolean stopNow)
Stop Connector Binding |
void |
terminateSession(java.lang.String identifier)
Terminate the Session |
void |
terminateTransaction(java.lang.String transactionId,
java.lang.String sessionId)
Mark the given transaction as rollback only. |
void |
terminateTransaction(javax.transaction.xa.Xid transactionId)
Mark the given global transaction as rollback only. |
Method Detail |
---|
void startConnectorBinding(java.lang.String connectorBindingIdentifier) throws AdminException
connectorBindingIdentifier
- identifier for ConnectorBinding
"*"
- for all connector bindings in the system
"name*"
- for all connector bindings that begin with given name
"name"
- for single connector binding by the given name
AdminException
- if there's a system error.void stopConnectorBinding(java.lang.String connectorBindingIdentifier, boolean stopNow) throws AdminException
connectorBindingIdentifier
- identifier for ConnectorBinding
"*"
- for all connector bindings in the system
"name*"
- for all connector bindings that begin with given name
"name"
- for single connector binding by the given name
stopNow
- If true, stop the process forcefully. If false, wait until any pending work is done.
AdminException
- - if there's a system error.@RolesAllowed(value="Admin.SystemAdmin") void clearCache(java.lang.String cacheIdentifier) throws AdminException
cacheIdentifier
- Cache name identifier Cache
.
No wild cards currently supported, must be explicit
AdminException
- if there's a system error.void terminateSession(java.lang.String identifier) throws AdminException
identifier
- Session Identifier Session
.
No wild cards currently supported, must be explicit
AdminException
- if there's a system error.void cancelRequest(java.lang.String identifier) throws AdminException
identifier
- The request identifier defined by Request
No wild cards currently supported, must be explicit
AdminException
- if there's a system error.void cancelSourceRequest(java.lang.String identifier) throws AdminException
identifier
- The request identifier defined by Request
No wild cards currently supported, must be explicit
AdminException
- if there's a system error.void changeVDBStatus(java.lang.String name, java.lang.String version, int status) throws AdminException
name
- Name of the Virtual Databaseversion
- Version of the Virtual Databasestatus
- Active, InActive, Delete
AdminException
- if there's a system error.void terminateTransaction(javax.transaction.xa.Xid transactionId) throws AdminException
transactionId
-
AdminException
void terminateTransaction(java.lang.String transactionId, java.lang.String sessionId) throws AdminException
identifier
- The exact identifier of the transaction. Wild card is not supported.the
- session the transaction is associated with.
AdminException
void shutdown(int millisToWait) throws AdminException
millisToWait
- Milliseconds to wait (if >0) or <=0 for no wait before stopping
AdminException
void restart() throws AdminException
AdminException
- if there's a system error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |