|
||||||||||
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 |
---|
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 |
getConnectionPoolStats(java.lang.String identifier)
Get monitoring information about connection pool stats for the connector bindings. |
java.util.Collection |
getConnectorBindings(java.lang.String identifier)
Get monitoring information about connector bindings. |
java.util.Collection |
getConnectorBindingsInVDB(java.lang.String identifier)
|
java.util.Collection<ConnectorBinding> |
getConnectorBindingsInVDB(java.lang.String vdbName,
java.lang.String vdbVersion)
Get all the Connector Bindings for the given VDB identifier pattern |
java.util.Collection<PropertyDefinition> |
getConnectorTypePropertyDefinitions(java.lang.String connectorTypeIdentifier)
Get all of the available Configuration Properties for the specified AdminObject, and details about them. |
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)
|
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 |
getServices(java.lang.String identifier)
Get monitoring information about services. |
java.util.Collection<Session> |
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<Transaction> |
getTransactions()
Get all transaction matching the identifier. |
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 MonitoringAdmin
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:
MonitoringAdmin.getCaches(java.lang.String)
public java.util.Collection getConnectorBindings(java.lang.String identifier) throws AdminException
getConnectorBindings
in interface MonitoringAdmin
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.MonitoringAdmin.getConnectorBindings(java.lang.String)
public java.util.Collection getConnectorBindingsInVDB(java.lang.String identifier) throws AdminException
AdminException
org.teiid.adminapi.MonitoringAdmin#getConnectorBindingsInVDB(java.lang.String)
public java.util.Collection getConnectorTypes(java.lang.String identifier) throws AdminException
getConnectorTypes
in interface MonitoringAdmin
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.MonitoringAdmin.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 MonitoringAdmin
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.MonitoringAdmin.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
getProcesses
in interface MonitoringAdmin
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 getServices(java.lang.String identifier) throws AdminException
getServices
in interface ServerMonitoringAdmin
identifier
- Fully-qualified identifier of a host, process, or service
to get information for. For example, "hostname", or "hostname.processname", or "
"hostname.processname.servicename".
If identifier is "*", this method returns information about all services in the system.
Collection
of com.metamatrix.admin.api.Service
AdminException
- if there's a system error.com.metamatrix.admin.api.server.ServerMonitoringAdmin#getServicess(java.lang.String)
public java.util.Collection getQueueWorkerPools(java.lang.String identifier) throws AdminException
getQueueWorkerPools
in interface MonitoringAdmin
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.MonitoringAdmin.getQueueWorkerPools(java.lang.String)
public java.util.Collection getConnectionPoolStats(java.lang.String identifier) throws AdminException
getConnectionPoolStats
in interface MonitoringAdmin
identifier
- 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 connection pools in the system.
Collection
of com.metamatrix.admin.api.ConnectionPool
AdminException
- if there's a system error.MonitoringAdmin.getConnectionPoolStats(java.lang.String)
public java.util.Collection getRequests(java.lang.String identifier) throws AdminException
getRequests
in interface MonitoringAdmin
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.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<Session> getSessions(java.lang.String identifier) throws AdminException
getSessions
in interface MonitoringAdmin
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.MonitoringAdmin.getSessions(java.lang.String)
public java.util.Collection getSourceRequests(java.lang.String identifier) throws AdminException
getSourceRequests
in interface MonitoringAdmin
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.MonitoringAdmin.getSourceRequests(java.lang.String)
public SystemObject getSystem() throws AdminException
AdminException
com.metamatrix.admin.api.server.ServerMonitoringAdmin#getSystem()
public java.util.Collection getVDBs(java.lang.String identifier) throws AdminException
getVDBs
in interface MonitoringAdmin
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.MonitoringAdmin.getVDBs(java.lang.String)
public java.util.Collection getPropertyDefinitions(java.lang.String identifier, java.lang.String className) throws AdminException
AdminException
org.teiid.adminapi.MonitoringAdmin#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)
public java.util.Collection<Transaction> getTransactions() throws AdminException
MonitoringAdmin
getTransactions
in interface MonitoringAdmin
AdminException
public java.util.Collection<PropertyDefinition> getConnectorTypePropertyDefinitions(java.lang.String connectorTypeIdentifier) throws AdminException
MonitoringAdmin
getConnectorTypePropertyDefinitions
in interface MonitoringAdmin
AdminException
public java.util.Collection<ConnectorBinding> getConnectorBindingsInVDB(java.lang.String vdbName, java.lang.String vdbVersion) throws AdminException
MonitoringAdmin
getConnectorBindingsInVDB
in interface MonitoringAdmin
vdbName
- - Name of the VDBvdbVersion
- - version of the VDB
ConnectorBinding
AdminException
- if there's a system error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |