|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.dqp.embedded.admin.DQPMonitoringAdminImpl
public class DQPMonitoringAdminImpl
DQP implementation of the Monitoring API
Constructor Summary | |
---|---|
DQPMonitoringAdminImpl(EmbeddedConnectionFactoryImpl manager)
|
Method Summary | |
---|---|
protected AdminException |
accumulateProcessingException(AdminException parent,
java.lang.Exception e)
|
protected AdminException |
accumulateSystemException(AdminException parent,
java.lang.Exception e)
|
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. |
java.util.Collection |
getCaches(java.lang.String identifier)
Get the Caches that correspond to the specified identifier pattern |
java.util.Collection |
getConnectionPoolStats(java.lang.String identifier)
Get the Connection Pool Stats that correspond to the specified identifier pattern. |
java.util.Collection |
getConnectorBindings(java.lang.String identifier)
Get list of available connector bindings |
java.util.Collection |
getConnectorBindingsInVDB(java.lang.String identifier)
Get all the Connector Bindings for the given VDB identifier pattern |
java.util.Collection |
getConnectorTypes(java.lang.String identifier)
Get list of available connector types |
java.util.Collection |
getExtensionModules(java.lang.String identifier)
Get the Extension Modules that correspond to the specified identifier pattern |
EmbeddedConnectionFactoryImpl |
getManager()
|
java.util.Collection |
getPropertyDefinitions(java.lang.String identifier,
java.lang.String className)
Get all of the available Configuration Properties for the specified AdminObject, and details about them. |
java.util.Collection |
getQueueWorkerPools(java.lang.String identifier)
Get the Queue Worker Pools that correspond to the specified identifier pattern. |
java.util.Collection |
getRequests(java.lang.String identifier)
Get the Requests that correspond to the specified identifier pattern |
java.util.Collection |
getSessions(java.lang.String identifier)
Get the Sessions that correspond to the specified identifier pattern |
java.util.Collection |
getSourceRequests(java.lang.String identifier)
Get the Source Request that correspond to the specified identifier pattern |
SystemObject |
getSystem()
Get the system state. |
java.util.Collection<Transaction> |
getTransactions()
Get all transaction matching the identifier. |
java.util.Collection |
getVDBs(java.lang.String identifier)
Get the VDBs that correspond to the specified identifier pattern. |
protected java.lang.String |
prettyPrintBindingNames(java.util.List bindings)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DQPMonitoringAdminImpl(EmbeddedConnectionFactoryImpl manager)
Method Detail |
---|
public java.util.Collection getConnectorTypes(java.lang.String identifier) throws AdminException
getConnectorTypes
in interface CoreMonitoringAdmin
identifier
- the unique identifier for for a ConnectorType
"*"
- for all connector types in the system
"name*"
- for all the connector types that begin with given name
"name"
- for the single connector type identified by name
ConnectorType
AdminException
- if there's a system error.CoreMonitoringAdmin.getConnectorTypes(java.lang.String)
public java.util.Collection getVDBs(java.lang.String identifier) throws AdminException
CoreMonitoringAdmin
getVDBs
in interface CoreMonitoringAdmin
identifier
- the unique identifier for for a VDB
in the system
"*"
- for all VDBs in the system
"name"
or "name*"
- for all the VDBs that begin with given name
"name<AdminObject.DELIMITER_CHAR
>version"
- for single VDB
VDB
s. There could be multiple VDBs with the
same name in the Collection but they will differ by VDB version.
AdminException
- if there's a system error.CoreMonitoringAdmin.getVDBs(java.lang.String)
public java.util.Collection getConnectorBindings(java.lang.String identifier) throws AdminException
getConnectorBindings
in interface CoreMonitoringAdmin
identifier
- the unique identifier pattern of 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
ConnectorBinding
AdminException
- if there's a system error.CoreMonitoringAdmin.getConnectorBindings(java.lang.String)
public java.util.Collection getConnectorBindingsInVDB(java.lang.String identifier) throws AdminException
CoreMonitoringAdmin
getConnectorBindingsInVDB
in interface CoreMonitoringAdmin
identifier
- - the unique identifier for a VDB
"*"
- for all Connector Bindings in the system
"name or name*"
- for all the bindings in the VDBs that begin with given name
"name<AdminObject.DELIMITER_CHAR
>version"
- for all the bindings in a given single VDB
ConnectorBinding
AdminException
- if there's a system error.CoreMonitoringAdmin.getConnectorBindingsInVDB(java.lang.String)
public java.util.Collection getExtensionModules(java.lang.String identifier) throws AdminException
CoreMonitoringAdmin
getExtensionModules
in interface CoreMonitoringAdmin
identifier
- - the unique identifier for ExtensionModule
"*"
- for all extension modules in the system
"name*"
- for all the extension modules in that begin with given name
"name"
- for a single extension module identified by given name
ExtensionModule
AdminException
- if there's a system error.CoreMonitoringAdmin.getExtensionModules(java.lang.String)
public java.util.Collection getQueueWorkerPools(java.lang.String identifier) throws AdminException
CoreMonitoringAdmin
getQueueWorkerPools
in interface CoreMonitoringAdmin
identifier
- - an identfier for the queues QueueWorkerPool
"*"
- for all Queue workers in the system
"name*"
- for all the Queue workers in that begin with given name
"name"
- for a single queue in the system
QueueWorkerPool
AdminException
- if there's a system error.CoreMonitoringAdmin.getQueueWorkerPools(java.lang.String)
public java.util.Collection getCaches(java.lang.String identifier) throws AdminException
CoreMonitoringAdmin
getCaches
in interface CoreMonitoringAdmin
identifier
- - an identifier for the cache in Cache
"*"
- for all different caches in the system
"name*"
- for all the caches that begin with given name
"name"
- for a single cache in the system
Cache
AdminException
- if there's a system error.CoreMonitoringAdmin.getCaches(java.lang.String)
public java.util.Collection getSessions(java.lang.String identifier) throws AdminException
CoreMonitoringAdmin
getSessions
in interface CoreMonitoringAdmin
identifier
- - an unique identifier for Session
"*"
- for all current sessions of the system
"number*"
- for all the sessions that begin with given number
"number"
- for a single current session in the system
Session
AdminException
- if there's a system error.CoreMonitoringAdmin.getSessions(java.lang.String)
public java.util.Collection getRequests(java.lang.String identifier) throws AdminException
CoreMonitoringAdmin
getRequests
in interface CoreMonitoringAdmin
identifier
- - An Identifier for Request
"*"
- for all current in process requests of the system
"number* or number<AdminObject.DELIMITER_CHAR
>*"
- for all the sessions
that begin with given number, or all the requests for particular session etc.
"number<AdminObject.DELIMITER_CHAR
>number"
- for a single request in the system
Request
AdminException
- if there's a system error.CoreMonitoringAdmin.getRequests(java.lang.String)
public java.util.Collection getSourceRequests(java.lang.String identifier) throws AdminException
CoreMonitoringAdmin
getSourceRequests
in interface CoreMonitoringAdmin
identifier
- An Identifier for Request
"*"
- for all current in process requests of the system
"number* or number<AdminObject.DELIMITER_CHAR
>* or number.number.*"
- for all the sessions
that begin with given number, or all the requests for particular session etc.
"number<AdminObject.DELIMITER_CHAR
>number<AdminObject.DELIMITER_CHAR
>number"
- for a single source request in the system
Request
AdminException
- if there's a system error.CoreMonitoringAdmin.getSourceRequests(java.lang.String)
public SystemObject getSystem()
getSystem
in interface CoreMonitoringAdmin
SystemObject
object, for interacting with system-wide configurationCoreMonitoringAdmin.getSystem()
public java.util.Collection getPropertyDefinitions(java.lang.String identifier, java.lang.String className) throws AdminException
CoreMonitoringAdmin
getPropertyDefinitions
in interface CoreMonitoringAdmin
identifier
- The unique identifier for for an AdminObject
.className
- The class name of the sub-interface of AdminObject
you are setting the property for. These are all the
supported class names. SystemObject
, Host
, ProcessObject
, ConnectorBinding
,
ConnectorType
,DQP
, Resource
Note that in Embedded mode only supported classes are ConnectorBinding
, ConnectorType
,
SystemObject
AdminException
- if there's a system error.CoreMonitoringAdmin.getPropertyDefinitions(java.lang.String, java.lang.String)
public java.util.Collection<Transaction> getTransactions() throws AdminException
CoreMonitoringAdmin
getTransactions
in interface CoreMonitoringAdmin
AdminException
public java.util.Collection getConnectionPoolStats(java.lang.String identifier) throws AdminException
CoreMonitoringAdmin
ConnectionPool
represents an XA connection, there
will be 2 ConnectionPool
s.
getConnectionPoolStats
in interface CoreMonitoringAdmin
identifier
- - an identfier that corresponds to the ConnectorBinding that is
running in a process ConnectionPool
"*"
- for all Connection Pools in the system
"name*"
- for all the Connection Pools that begin with given name
"name"
- for a single Connection Pool in the system
ConnectionPool
AdminException
- if there's a system error.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 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 |