com.metamatrix.admin.api.server
Interface ServerMonitoringAdmin

All Superinterfaces:
CoreMonitoringAdmin
All Known Subinterfaces:
ServerAdmin
All Known Implementing Classes:
ServerAdminImpl, ServerMonitoringAdminImpl

public interface ServerMonitoringAdmin
extends CoreMonitoringAdmin

Interface that exposes the MetaMatrix server for system monitoring.

Clients should not code directly to this interface but should instead use ServerAdmin.

Since:
4.3

Method Summary
 byte[] exportLogs()
          Export the server logs to a byte[].
 java.util.Collection getDQPs(java.lang.String identifier)
          Get the DQPs that correspond to the specified identifer pattern.
 java.util.Collection getHosts(java.lang.String hostIdentifier)
          Get the hosts that correspond to the specified identifier pattern.
 java.util.Collection getProcesses(java.lang.String processIdentifier)
          Get the processes that correspond to the specified identifier pattern.
 java.util.Collection getResources(java.lang.String resourceIdentifier)
          Get the Resources that correspond to the specified identifer pattern.
 
Methods inherited from interface com.metamatrix.admin.api.core.CoreMonitoringAdmin
getCaches, getConnectorBindings, getConnectorBindingsInVDB, getConnectorTypes, getExtensionModules, getPropertyDefinitions, getQueueWorkerPools, getRequests, getSessions, getSourceRequests, getSystem, getVDBs
 

Method Detail

getHosts

java.util.Collection getHosts(java.lang.String hostIdentifier)
                              throws AdminException
Get the hosts that correspond to the specified identifier pattern.

Parameters:
hostIdentifier - the unique identifier for for a Host in the system or "WILDCARD" if all hosts are desired.
Returns:
Collection of Host
Throws:
AdminException - if there's a system error.
Since:
4.3

getProcesses

java.util.Collection getProcesses(java.lang.String processIdentifier)
                                  throws AdminException
Get the processes that correspond to the specified identifier pattern.

Parameters:
processIdentifier - the unique identifier for for a ProcessObject in the system or "WILDCARD" if all Processes are desired.
Returns:
Collection of ProcessObject
Throws:
AdminException - if there's a system error.
Since:
4.3

getResources

java.util.Collection getResources(java.lang.String resourceIdentifier)
                                  throws AdminException
Get the Resources that correspond to the specified identifer pattern.

Parameters:
resourceIdentifier - the unique resourceIdentifier for for a Resource in the system or "WILDCARD" if all Resources are desired.
Returns:
Collection of Resource
Throws:
AdminException - if there's a system error.
Since:
4.3

getDQPs

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

Parameters:
identifier - the unique identifier for for a DQP in the system or "WILDCARD" if all Resources are desired.
Returns:
Collection of DQP
Throws:
AdminException - if there's a system error.
Since:
4.3

exportLogs

byte[] exportLogs()
                  throws AdminException
Export the server logs to a byte[]. The bytes contain the contents of a .zip file containing the logs.

Returns:
the logs, as a byte[].
Throws:
AdminException
Since:
4.3


Copyright © 2009. All Rights Reserved.