|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.dqp.embedded.admin.DQPRuntimeStateAdminImpl
public class DQPRuntimeStateAdminImpl
Constructor Summary | |
---|---|
DQPRuntimeStateAdminImpl(EmbeddedConnectionFactoryImpl manager)
|
Method Summary | |
---|---|
protected AdminException |
accumulateProcessingException(AdminException parent,
java.lang.Exception e)
|
protected AdminException |
accumulateSystemException(AdminException parent,
java.lang.Exception e)
|
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 identifier)
Clear the cache or caches specified by the cacheIdentifier. |
protected java.util.Collection |
convertPropertyDefinitions(ComponentType ctype,
java.util.Properties properties)
Convert a ComponentType and a set of properties into a Collection of com.metamatrix.admin.api.objects.PropertyDefinition objects |
protected java.util.Collection |
convertPropertyDefinitions(java.util.Properties properties)
Convert a set of properties into a Collection of com.metamatrix.admin.api.objects.PropertyDefinition objects |
protected java.lang.Object |
convertToAdminObjects(java.lang.Object src)
|
protected java.lang.Object |
convertToAdminObjects(java.lang.Object src,
java.lang.Object parent)
|
EmbeddedConnectionFactoryImpl |
getManager()
|
protected java.lang.String |
prettyPrintBindingNames(java.util.List bindings)
|
void |
restart()
Restart System |
void |
shutdown(int millisToWait)
Stop the MM Query. |
void |
startConnectorBinding(java.lang.String identifier)
Start Connector Binding |
void |
stopConnectorBinding(java.lang.String identifier,
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. |
protected SessionToken |
validateSession()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DQPRuntimeStateAdminImpl(EmbeddedConnectionFactoryImpl manager)
Method Detail |
---|
public void shutdown(int millisToWait) throws AdminException
RuntimeStateAdmin
shutdown
in interface RuntimeStateAdmin
millisToWait
- Milliseconds to wait (if >0) or <=0 for no wait before stopping
AdminException
com.metamatrix.admin.api.embedded.EmbeddedRuntimeStateAdmin#stop(int)
public void restart() throws AdminException
RuntimeStateAdmin
restart
in interface RuntimeStateAdmin
AdminException
- if there's a system error.com.metamatrix.admin.api.embedded.EmbeddedRuntimeStateAdmin#restart()
public void startConnectorBinding(java.lang.String identifier) throws AdminException
RuntimeStateAdmin
startConnectorBinding
in interface RuntimeStateAdmin
identifier
- 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.RuntimeStateAdmin.startConnectorBinding(java.lang.String)
public void stopConnectorBinding(java.lang.String identifier, boolean stopNow) throws AdminException
RuntimeStateAdmin
stopConnectorBinding
in interface RuntimeStateAdmin
identifier
- 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.RuntimeStateAdmin.stopConnectorBinding(java.lang.String, boolean)
public void clearCache(java.lang.String identifier) throws AdminException
RuntimeStateAdmin
clearCache
in interface RuntimeStateAdmin
identifier
- Cache name identifier Cache
.
No wild cards currently supported, must be explicit
AdminException
- if there's a system error.RuntimeStateAdmin.clearCache(java.lang.String)
public void terminateSession(java.lang.String identifier) throws AdminException
RuntimeStateAdmin
terminateSession
in interface RuntimeStateAdmin
identifier
- Session Identifier Session
.
No wild cards currently supported, must be explicit
AdminException
- if there's a system error.RuntimeStateAdmin.terminateSession(java.lang.String)
public void cancelRequest(java.lang.String identifier) throws AdminException
RuntimeStateAdmin
cancelRequest
in interface RuntimeStateAdmin
identifier
- The request identifier defined by Request
No wild cards currently supported, must be explicit
AdminException
- if there's a system error.RuntimeStateAdmin.cancelRequest(java.lang.String)
public void cancelSourceRequest(java.lang.String identifier) throws AdminException
RuntimeStateAdmin
cancelSourceRequest
in interface RuntimeStateAdmin
identifier
- The request identifier defined by Request
No wild cards currently supported, must be explicit
AdminException
- if there's a system error.RuntimeStateAdmin.cancelSourceRequest(java.lang.String)
public void changeVDBStatus(java.lang.String name, java.lang.String version, int status) throws AdminException
RuntimeStateAdmin
changeVDBStatus
in interface RuntimeStateAdmin
name
- Name of the Virtual Databaseversion
- Version of the Virtual Databasestatus
- Active, InActive, Delete
AdminException
- if there's a system error.RuntimeStateAdmin.changeVDBStatus(java.lang.String, java.lang.String, int)
public void terminateTransaction(java.lang.String transactionId, java.lang.String sessionId) throws AdminException
RuntimeStateAdmin
terminateTransaction
in interface RuntimeStateAdmin
AdminException
public void terminateTransaction(javax.transaction.xa.Xid transactionId) throws AdminException
RuntimeStateAdmin
terminateTransaction
in interface RuntimeStateAdmin
AdminException
protected AdminException accumulateSystemException(AdminException parent, java.lang.Exception e)
protected AdminException accumulateProcessingException(AdminException parent, java.lang.Exception e)
protected java.lang.String prettyPrintBindingNames(java.util.List bindings)
public EmbeddedConnectionFactoryImpl getManager()
protected java.lang.Object convertToAdminObjects(java.lang.Object src)
protected java.lang.Object convertToAdminObjects(java.lang.Object src, java.lang.Object parent)
protected java.util.Collection convertPropertyDefinitions(ComponentType ctype, java.util.Properties properties)
ctype
- properties
-
protected java.util.Collection convertPropertyDefinitions(java.util.Properties properties)
ctype
- properties
-
protected SessionToken validateSession()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |