|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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)
|
protected java.util.Collection |
getAdminObjects(java.lang.String identifier,
java.lang.String className)
Get admin objects of the specified className that match the specified identifier. |
EmbeddedConnectionFactoryImpl |
getManager()
|
SystemObject |
getSystem()
Get the system state. |
protected java.lang.String |
prettyPrintBindingNames(java.util.List bindings)
|
void |
restart()
Restart MM Query |
void |
setLogListener(EmbeddedLogger listener)
Set the log listener to install into MM Query. |
void |
startConnectorBinding(java.lang.String identifier)
Start Connector Binding |
void |
stop(int millisToWait)
Stop the MM Query. |
void |
stopConnectorBinding(java.lang.String identifier,
boolean stopNow)
Stop Connector Binding |
void |
terminateSession(java.lang.String identifier)
Terminate the Session |
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 stop(int millisToWait) throws AdminException
EmbeddedRuntimeStateAdmin
stop
in interface EmbeddedRuntimeStateAdmin
millisToWait
- Milliseconds to wait (if >0) or <=0 for no wait before stopping
AdminException
EmbeddedRuntimeStateAdmin.stop(int)
public void restart() throws AdminException
EmbeddedRuntimeStateAdmin
restart
in interface EmbeddedRuntimeStateAdmin
AdminException
- if there's a system error.EmbeddedRuntimeStateAdmin.restart()
public void startConnectorBinding(java.lang.String identifier) throws AdminException
CoreRuntimeStateAdmin
startConnectorBinding
in interface CoreRuntimeStateAdmin
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.CoreRuntimeStateAdmin.startConnectorBinding(java.lang.String)
public void stopConnectorBinding(java.lang.String identifier, boolean stopNow) throws AdminException
CoreRuntimeStateAdmin
stopConnectorBinding
in interface CoreRuntimeStateAdmin
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.CoreRuntimeStateAdmin.stopConnectorBinding(java.lang.String, boolean)
public void clearCache(java.lang.String identifier) throws AdminException
CoreRuntimeStateAdmin
clearCache
in interface CoreRuntimeStateAdmin
identifier
- Cache name identifier Cache
.
No wild cards currently supported, must be explicit
AdminException
- if there's a system error.CoreRuntimeStateAdmin.clearCache(java.lang.String)
public void terminateSession(java.lang.String identifier) throws AdminException
CoreRuntimeStateAdmin
terminateSession
in interface CoreRuntimeStateAdmin
identifier
- Session Idenitfier Session
.
No wild cards currently supported, must be explicit
AdminException
- if there's a system error.CoreRuntimeStateAdmin.terminateSession(java.lang.String)
public void cancelRequest(java.lang.String identifier) throws AdminException
CoreRuntimeStateAdmin
cancelRequest
in interface CoreRuntimeStateAdmin
identifier
- The request identifer defined by Request
No wild cards currently supported, must be explicit
AdminException
- if there's a system error.CoreRuntimeStateAdmin.cancelRequest(java.lang.String)
public void cancelSourceRequest(java.lang.String identifier) throws AdminException
CoreRuntimeStateAdmin
cancelSourceRequest
in interface CoreRuntimeStateAdmin
identifier
- The request identifer defined by Request
No wild cards currently supported, must be explicit
AdminException
- if there's a system error.CoreRuntimeStateAdmin.cancelSourceRequest(java.lang.String)
public void changeVDBStatus(java.lang.String name, java.lang.String version, int status) throws AdminException
CoreRuntimeStateAdmin
changeVDBStatus
in interface CoreRuntimeStateAdmin
name
- Name of the Virtial Databaseversion
- Version of the Virtial Databasestatus
- Active, InActive, Delete
AdminException
- if there's a system error.CoreRuntimeStateAdmin.changeVDBStatus(java.lang.String, java.lang.String, int)
public void setLogListener(EmbeddedLogger listener) throws AdminException
EmbeddedRuntimeStateAdmin
setLogListener
in interface EmbeddedRuntimeStateAdmin
listener
- The listener component
AdminException
- if there's a system error.com.metamatrix.admin.api.embedded.EmbeddedRuntimeStateAdmin#setLogListener(java.lang.Object)
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)
public SystemObject getSystem()
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 java.util.Collection getAdminObjects(java.lang.String identifier, java.lang.String className) throws AdminException
identifier
- className
-
AdminException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |