com.metamatrix.admin.api.core
Interface CoreMonitoringAdmin

All Known Subinterfaces:
Admin, EmbeddedAdmin, EmbeddedMonitoringAdmin, ServerAdmin, ServerMonitoringAdmin
All Known Implementing Classes:
DQPMonitoringAdminImpl, ServerAdminImpl, ServerMonitoringAdminImpl

public interface CoreMonitoringAdmin

Used to access the monitorable components of the MetaMatrix system.

As a core interface, this administration is common to both the MetaMatrix server and MM Query.

See the particular admin object in question for an example of allowed identifier patterns.

Since:
4.3

Method Summary
 java.util.Collection getCaches(java.lang.String identifier)
          Get the Caches that correspond to the specified identifer pattern
 java.util.Collection getConnectorBindings(java.lang.String connectorBindingIdentifier)
          Get the Connector Bindings that correspond to the specifed identifer pattern.
 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 connectorTypeIdentifier)
          Get the Connector Types that correspond to the specified identifer pattern.
 java.util.Collection getExtensionModules(java.lang.String extensionModuleIdentifier)
          Get the Extension Modules that correspond to the specified identifer pattern
 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 identifer pattern.
 java.util.Collection getRequests(java.lang.String identifier)
          Get the Requests that correspond to the specified identifer pattern
 java.util.Collection getSessions(java.lang.String identifier)
          Get the Sessions that correspond to the specified identifer pattern
 java.util.Collection getSourceRequests(java.lang.String identifier)
          Get the Source Request that correspond to the specified identifer pattern
 SystemObject getSystem()
          Retrieve the single System object.
 java.util.Collection getVDBs(java.lang.String vdbIdentifier)
          Get the VDBs that correspond to the specifed identifer pattern.
 

Method Detail

getSystem

SystemObject getSystem()
                       throws AdminException
Retrieve the single System object.

Returns:
The single SystemObject object, for interacting with system-wide configuration
Throws:
AdminException - if there's a system error.
Since:
4.3

getConnectorTypes

java.util.Collection getConnectorTypes(java.lang.String connectorTypeIdentifier)
                                       throws AdminException
Get the Connector Types that correspond to the specified identifer pattern.

Parameters:
connectorTypeIdentifier - 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
Returns:
Collection of ConnectorType
Throws:
AdminException - if there's a system error.
Since:
4.3

getVDBs

java.util.Collection getVDBs(java.lang.String vdbIdentifier)
                             throws AdminException
Get the VDBs that correspond to the specifed identifer pattern.

Parameters:
vdbIdentifier - 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
Returns:
Collection of VDBs. There could be multiple VDBs with the same name in the Collection but they will differ by VDB version.
Throws:
AdminException - if there's a system error.
Since:
4.3

getConnectorBindings

java.util.Collection getConnectorBindings(java.lang.String connectorBindingIdentifier)
                                          throws AdminException
Get the Connector Bindings that correspond to the specifed identifer pattern.

Parameters:
connectorBindingIdentifier - 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
Returns:
Collection of ConnectorBinding
Throws:
AdminException - if there's a system error.
Since:
4.3

getConnectorBindingsInVDB

java.util.Collection getConnectorBindingsInVDB(java.lang.String identifier)
                                               throws AdminException
Get all the Connector Bindings for the given VDB identifier pattern

Parameters:
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
Returns:
Collection of ConnectorBinding
Throws:
AdminException - if there's a system error.
Since:
4.3

getExtensionModules

java.util.Collection getExtensionModules(java.lang.String extensionModuleIdentifier)
                                         throws AdminException
Get the Extension Modules that correspond to the specified identifer pattern

Parameters:
extensionModuleIdentifier - - 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
Returns:
Collection of ExtensionModule
Throws:
AdminException - if there's a system error.
Since:
4.3

getQueueWorkerPools

java.util.Collection getQueueWorkerPools(java.lang.String identifier)
                                         throws AdminException
Get the Queue Worker Pools that correspond to the specified identifer pattern.

Parameters:
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
for example, In MM Query - "dqp" will return the Stats for MM Query Worker Pool. Also any Connector Binding name will return the stats for that connector binding.
Returns:
Collection of QueueWorkerPool
Throws:
AdminException - if there's a system error.
Since:
4.3

getCaches

java.util.Collection getCaches(java.lang.String identifier)
                               throws AdminException
Get the Caches that correspond to the specified identifer pattern

Parameters:
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
Returns:
Collection of Cache
Throws:
AdminException - if there's a system error.
Since:
4.3

getSessions

java.util.Collection getSessions(java.lang.String identifier)
                                 throws AdminException
Get the Sessions that correspond to the specified identifer pattern

Parameters:
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
Returns:
Collection of Session
Throws:
AdminException - if there's a system error.
Since:
4.3

getRequests

java.util.Collection getRequests(java.lang.String identifier)
                                 throws AdminException
Get the Requests that correspond to the specified identifer pattern

Parameters:
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 perticular session etc.
  • "number<AdminObject.DELIMITER_CHAR>number" - for a single request in the system
Returns:
Collection of Request
Throws:
AdminException - if there's a system error.
Since:
4.3

getSourceRequests

java.util.Collection getSourceRequests(java.lang.String identifier)
                                       throws AdminException
Get the Source Request that correspond to the specified identifer pattern

Parameters:
identifier - An Identifier for Request
Returns:
Collection of SourceRequest
Throws:
AdminException - if there's a system error.
Since:
4.3

getPropertyDefinitions

java.util.Collection getPropertyDefinitions(java.lang.String identifier,
                                            java.lang.String className)
                                            throws AdminException
Get all of the available Configuration Properties for the specified AdminObject, and details about them.

Parameters:
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
Returns:
Collection of PropertyDefinition objects.
Throws:
AdminException - if there's a system error.
Since:
4.3


Copyright © 2009. All Rights Reserved.