org.teiid.rhq.admin
Class DQPManagementView

java.lang.Object
  extended by org.teiid.rhq.admin.DQPManagementView
All Implemented Interfaces:
PluginConstants

public class DQPManagementView
extends java.lang.Object
implements PluginConstants


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.teiid.rhq.plugin.util.PluginConstants
PluginConstants.ComponentType, PluginConstants.Metric, PluginConstants.Operation
 
Field Summary
static java.lang.String DYNAMIC_VDB_EXT
           
static java.lang.String VDB_EXT
           
 
Fields inherited from interface org.teiid.rhq.plugin.util.PluginConstants
DEFAULT_LOGGER_CATEGORY, PROFILE_SERVICE
 
Constructor Summary
DQPManagementView()
           
 
Method Summary
protected  void executeClearCache(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection, java.lang.String vdbName, int vdbVersion, java.lang.String cacheType)
           
static org.jboss.metatype.api.values.MetaValue executeManagedOperation(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection, org.jboss.managed.api.ManagedComponent mc, java.lang.String operation, org.jboss.metatype.api.values.MetaValue... args)
           
protected  org.jboss.metatype.api.values.MetaValue executeMaterializedViewQuery(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection, java.lang.String vdbName, int vdbVersion)
           
 void executeOperation(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection, ExecutedResult operationResult, java.util.Map<java.lang.String,java.lang.Object> valueMap)
           
protected  org.jboss.metatype.api.values.MetaValue getCacheStats(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection, java.lang.String type)
           
protected  org.jboss.metatype.api.values.MetaValue getLongRunningQueries(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection)
           
static org.jboss.metatype.api.values.MetaValue getManagedProperty(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection, org.jboss.managed.api.ManagedComponent mc, java.lang.String property)
           
 java.lang.Object getMetric(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection, java.lang.String componentType, java.lang.String identifier, java.lang.String metric, java.util.Map<java.lang.String,java.lang.Object> valueMap)
           
 org.jboss.metatype.api.values.MetaValue getProperties(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection, java.lang.String component)
           
protected  org.jboss.metatype.api.values.MetaValue getRequests(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection)
           
protected  org.jboss.metatype.api.values.MetaValue getRequestsForVDB(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection, java.lang.String vdbName, int vdbVersion)
           
<T> void
getSessionCollectionValue(org.jboss.metatype.api.values.MetaValue pValue, java.util.Collection<SessionMetadata> list)
           
<T> void
getSessionCollectionValueForVDB(org.jboss.metatype.api.values.MetaValue pValue, java.util.Collection<SessionMetadata> list, java.lang.String vdbName)
           
 org.jboss.metatype.api.values.MetaValue getSessions(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection)
           
<T> void
getTransactionCollectionValue(org.jboss.metatype.api.values.MetaValue pValue, java.util.Collection<TransactionMetadata> list)
           
protected  org.jboss.metatype.api.values.MetaValue getTransactions(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection)
           
protected  org.jboss.metatype.api.values.MetaValue getUsedBufferSpace(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection)
           
static java.lang.String getVDBStatus(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection, java.lang.String vdbName)
           
protected  org.jboss.metatype.api.values.MetaValue reloadMaterializedView(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection, java.lang.String vdbName, int vdbVersion, java.lang.String schema, java.lang.String table, java.lang.Boolean invalidate)
           
 RequestMetadata unwrapRequestMetaValue(org.jboss.metatype.api.values.MetaValue metaValue)
           
 SessionMetadata unwrapSessionMetaValue(org.jboss.metatype.api.values.MetaValue metaValue)
           
 TransactionMetadata unwrapTransactionMetaValue(org.jboss.metatype.api.values.MetaValue metaValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VDB_EXT

public static final java.lang.String VDB_EXT
See Also:
Constant Field Values

DYNAMIC_VDB_EXT

public static final java.lang.String DYNAMIC_VDB_EXT
See Also:
Constant Field Values
Constructor Detail

DQPManagementView

public DQPManagementView()
Method Detail

getMetric

public java.lang.Object getMetric(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection,
                                  java.lang.String componentType,
                                  java.lang.String identifier,
                                  java.lang.String metric,
                                  java.util.Map<java.lang.String,java.lang.Object> valueMap)
                           throws java.lang.Exception
Throws:
java.lang.Exception

executeOperation

public void executeOperation(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection,
                             ExecutedResult operationResult,
                             java.util.Map<java.lang.String,java.lang.Object> valueMap)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getProperties

public org.jboss.metatype.api.values.MetaValue getProperties(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection,
                                                             java.lang.String component)

getRequests

protected org.jboss.metatype.api.values.MetaValue getRequests(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection)

executeClearCache

protected void executeClearCache(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection,
                                 java.lang.String vdbName,
                                 int vdbVersion,
                                 java.lang.String cacheType)
                          throws java.lang.Exception
Throws:
java.lang.Exception

executeMaterializedViewQuery

protected org.jboss.metatype.api.values.MetaValue executeMaterializedViewQuery(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection,
                                                                               java.lang.String vdbName,
                                                                               int vdbVersion)

reloadMaterializedView

protected org.jboss.metatype.api.values.MetaValue reloadMaterializedView(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection,
                                                                         java.lang.String vdbName,
                                                                         int vdbVersion,
                                                                         java.lang.String schema,
                                                                         java.lang.String table,
                                                                         java.lang.Boolean invalidate)

getRequestsForVDB

protected org.jboss.metatype.api.values.MetaValue getRequestsForVDB(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection,
                                                                    java.lang.String vdbName,
                                                                    int vdbVersion)

getTransactions

protected org.jboss.metatype.api.values.MetaValue getTransactions(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection)

getSessions

public org.jboss.metatype.api.values.MetaValue getSessions(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection)

getVDBStatus

public static java.lang.String getVDBStatus(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection,
                                            java.lang.String vdbName)

executeManagedOperation

public static org.jboss.metatype.api.values.MetaValue executeManagedOperation(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection,
                                                                              org.jboss.managed.api.ManagedComponent mc,
                                                                              java.lang.String operation,
                                                                              org.jboss.metatype.api.values.MetaValue... args)
                                                                       throws java.lang.Exception
Throws:
java.lang.Exception

getManagedProperty

public static org.jboss.metatype.api.values.MetaValue getManagedProperty(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection,
                                                                         org.jboss.managed.api.ManagedComponent mc,
                                                                         java.lang.String property)
                                                                  throws java.lang.Exception
Throws:
java.lang.Exception

getCacheStats

protected org.jboss.metatype.api.values.MetaValue getCacheStats(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection,
                                                                java.lang.String type)

getLongRunningQueries

protected org.jboss.metatype.api.values.MetaValue getLongRunningQueries(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection)

getUsedBufferSpace

protected org.jboss.metatype.api.values.MetaValue getUsedBufferSpace(org.rhq.plugins.jbossas5.connection.ProfileServiceConnection connection)

getTransactionCollectionValue

public <T> void getTransactionCollectionValue(org.jboss.metatype.api.values.MetaValue pValue,
                                              java.util.Collection<TransactionMetadata> list)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getSessionCollectionValue

public <T> void getSessionCollectionValue(org.jboss.metatype.api.values.MetaValue pValue,
                                          java.util.Collection<SessionMetadata> list)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getSessionCollectionValueForVDB

public <T> void getSessionCollectionValueForVDB(org.jboss.metatype.api.values.MetaValue pValue,
                                                java.util.Collection<SessionMetadata> list,
                                                java.lang.String vdbName)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

unwrapSessionMetaValue

public SessionMetadata unwrapSessionMetaValue(org.jboss.metatype.api.values.MetaValue metaValue)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

unwrapRequestMetaValue

public RequestMetadata unwrapRequestMetaValue(org.jboss.metatype.api.values.MetaValue metaValue)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

unwrapTransactionMetaValue

public TransactionMetadata unwrapTransactionMetaValue(org.jboss.metatype.api.values.MetaValue metaValue)
                                               throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2011. All Rights Reserved.