|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.admin.server.AbstractAdminImpl
com.metamatrix.admin.server.ServerMonitoringAdminImpl
public class ServerMonitoringAdminImpl
Field Summary |
---|
Fields inherited from class com.metamatrix.admin.server.AbstractAdminImpl |
---|
parent, registry |
Constructor Summary | |
---|---|
ServerMonitoringAdminImpl(ServerAdminImpl parent,
ClusteredRegistryState registry)
|
Method Summary | |
---|---|
byte[] |
exportLogs()
Export the server logs to a byte[]. |
java.util.Collection |
getCaches(java.lang.String identifier)
Get monitoring information about caches. |
java.util.Collection |
getConnectorBindings(java.lang.String identifier)
Get monitoring information about 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 monitoring information about connector types. |
java.util.Collection |
getDQPs(java.lang.String identifier)
Get monitoring information about DQPs (Distributed Query Processors). |
java.util.Collection |
getExtensionModules(java.lang.String identifier)
Get monitoring information about extension modules. |
java.util.Collection |
getHosts(java.lang.String identifier)
Get monitoring information about hosts. |
java.util.Collection |
getProcesses(java.lang.String identifier)
Get monitoring information about processes. |
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 monitoring information about worker queues for DQPs or connector bindings. |
java.util.Collection |
getRequests(java.lang.String identifier)
Get monitoring information about requests. |
java.util.Collection |
getResources(java.lang.String identifier)
Get monitoring information about resources. |
java.util.Collection |
getSessions(java.lang.String identifier)
Get monitoring information about sessions. |
java.util.Collection |
getSourceRequests(java.lang.String identifier)
Get monitoring information about source requests. |
SystemObject |
getSystem()
Get monitoring information about the sytem at large. |
java.util.Collection |
getVDBs(java.lang.String identifier)
Get monitoring information about VDBs (Virtual Databases). |
protected static java.lang.String |
trimString(java.lang.String string)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerMonitoringAdminImpl(ServerAdminImpl parent, ClusteredRegistryState registry)
Method Detail |
---|
public java.util.Collection getCaches(java.lang.String identifier) throws AdminException
getCaches
in interface CoreMonitoringAdmin
identifier
- Identifier of the cache to get information for. For example, "CodeTable".
If identifier is "*", this method returns information for all caches in the system.
Collection
of com.metamatrix.admin.api.Cache
- Throws:
AdminException
- if there's a system error.- Since:
- 4.3
- See Also:
CoreMonitoringAdmin.getCaches(java.lang.String)
public java.util.Collection getConnectorBindings(java.lang.String identifier) throws AdminException
getConnectorBindings
in interface CoreMonitoringAdmin
identifier
- Fully-qualified identifier of a host, process, or connector binding
to get information for. For example, "hostname", or "hostname.processname", or "
"hostname.processname.bindingname".
If identifier is "*", this method returns information about all connector bindings in the system.
Collection
of com.metamatrix.admin.api.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 getConnectorTypes(java.lang.String identifier) throws AdminException
getConnectorTypes
in interface CoreMonitoringAdmin
identifier
- Identifier of a connector type to get information for. For example, "JDBC Connector".
If identifier is "*", this method returns information about all connector types in the system.
Collection
of com.metamatrix.admin.api.ConnectorType
AdminException
- if there's a system error.CoreMonitoringAdmin.getConnectorTypes(java.lang.String)
public java.util.Collection getDQPs(java.lang.String identifier) throws AdminException
getDQPs
in interface ServerMonitoringAdmin
identifier
- Fully-qualified identifier of a host or process
to get information for. For example, "hostname", or "hostname.processname".
If identifier is "*", this method returns information about all DQPs in the system.
Collection
of com.metamatrix.admin.api.DQP
AdminException
- if there's a system error.ServerMonitoringAdmin.getDQPs(java.lang.String)
public java.util.Collection getExtensionModules(java.lang.String identifier) throws AdminException
getExtensionModules
in interface CoreMonitoringAdmin
identifier
- Identifier of an extension module to get information for.
If identifier is "*", this method returns information about all extension modules in the system. Note that this methods returns the binary contents of each extension module, so you should avoid calling this method with identifier "*" if possible.
Collection
of com.metamatrix.admin.api.ExtensionModule
AdminException
- if there's a system error.CoreMonitoringAdmin.getExtensionModules(java.lang.String)
public java.util.Collection getHosts(java.lang.String identifier) throws AdminException
getHosts
in interface ServerMonitoringAdmin
identifier
- Identifier of a host to get information for. For example "hostname".
If identifier is "*", this method returns information about all hosts in the system.
Collection
of com.metamatrix.admin.api.Host
AdminException
- if there's a system error.ServerMonitoringAdmin.getHosts(java.lang.String)
public java.util.Collection getProcesses(java.lang.String identifier) throws AdminException
getProcesses
in interface ServerMonitoringAdmin
identifier
- Identifier of a host or process to get information for.
For example "hostname" or "hostname.processname".
If identifier is "*", this method returns information about all processes in the system.
Collection
of com.metamatrix.admin.api.Process
AdminException
- if there's a system error.ServerMonitoringAdmin.getProcesses(java.lang.String)
public java.util.Collection getQueueWorkerPools(java.lang.String identifier) throws AdminException
getQueueWorkerPools
in interface CoreMonitoringAdmin
identifier
- Identifier of a host, process, DQP, connector binding,
or worker queue to get information for.
For example "hostname", or "hostname.processname", or "hostname.processname.dqpname", or
"hostname.processname.bindingname", or "hostname.processname.dqpname.workerqueuename",
or "hostname.processname.bindingname.workerqueuename".
NOTE: to get information about the "Socket Worker" queue associated with a process,
use getProcess()
.
If identifier is "*", this method returns information about all worker queues in the system.
Collection
of com.metamatrix.admin.api.QueueWorkerPool
AdminException
- if there's a system error.CoreMonitoringAdmin.getQueueWorkerPools(java.lang.String)
public java.util.Collection getRequests(java.lang.String identifier) throws AdminException
getRequests
in interface CoreMonitoringAdmin
identifier
- Identifier of a session or request to get information for.
For example "sessionID" or "sessionID.requestID".
If identifier is "*", this method returns information about all requests in the system.
Collection
of com.metamatrix.admin.api.Request
AdminException
- if there's a system error.CoreMonitoringAdmin.getRequests(java.lang.String)
public java.util.Collection getResources(java.lang.String identifier) throws AdminException
getResources
in interface ServerMonitoringAdmin
identifier
- Identifier of a resource to get information for.
For example "resourceName".
If identifier is "*", this method returns information about all resources in the system.
Collection
of com.metamatrix.admin.api.Resource
AdminException
- if there's a system error.ServerMonitoringAdmin.getResources(java.lang.String)
public java.util.Collection getSessions(java.lang.String identifier) throws AdminException
getSessions
in interface CoreMonitoringAdmin
identifier
- Identifier of a session to get information for. For example "sessionID".
If identifier is "*", this method returns information about all sessions in the system.
Collection
of com.metamatrix.admin.api.Session
AdminException
- if there's a system error.CoreMonitoringAdmin.getSessions(java.lang.String)
public java.util.Collection getSourceRequests(java.lang.String identifier) throws AdminException
getSourceRequests
in interface CoreMonitoringAdmin
identifier
- Identifier of a session or source request to get information for.
For example "sessionID" or "sessionID.requestID".
If identifier is "*", this method returns information about all source requests in the system.
Collection
of com.metamatrix.admin.api.SourceRequest
AdminException
- if there's a system error.CoreMonitoringAdmin.getSourceRequests(java.lang.String)
public SystemObject getSystem() throws AdminException
getSystem
in interface CoreMonitoringAdmin
AdminException
- if there's a system error.CoreMonitoringAdmin.getSystem()
public java.util.Collection getVDBs(java.lang.String identifier) throws AdminException
getVDBs
in interface CoreMonitoringAdmin
identifier
- Identifier of a VDB to get information for.
For example "vdbname".
If identifier is "*", this method returns information about all VDBs in the system.
Collection
of com.metamatrix.admin.api.VDB
AdminException
- if there's a system error.CoreMonitoringAdmin.getVDBs(java.lang.String)
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 byte[] exportLogs() throws AdminException
ServerMonitoringAdmin
exportLogs
in interface ServerMonitoringAdmin
AdminException
ServerMonitoringAdmin.exportLogs()
protected static java.lang.String trimString(java.lang.String string)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |