com.businessobjects.sdk.monitoring.probe
Class VirtualMetricsManager

java.lang.Object
  extended by com.businessobjects.sdk.monitoring.probe.VirtualMetricsManager

public final class VirtualMetricsManager
extends java.lang.Object

This class is used to get the Virtual Metrics for a managed entity.


Field Summary
static VirtualMetricsManager instance
          This is an internal method.
static ILogger logger
          This is an internal method.
 
Method Summary
static VirtualMetricsManager getInstance()
          This method is used to retrieve the instance of the VirtualMetricsManager.
 java.util.List getUnAssociatedProbes(ISecuritySession secSession)
          This method is used to provide all unassociated Virtual Metrics for all the Health Probes.
 java.util.Map getUnAssociatedVMetrics(ISecuritySession secSession)
          This method is used to provide unassociated Virtual Metrics for all the Health Probes.
 IVirtualMetrics getUnAssociatedVMetrics(java.lang.String cuid, ISecuritySession secSession)
          This method is used to provide unassociated Virtual Metrics for a specific probe, returns null if the cuid is invalid.
 java.util.Map getVirtualMetrics(java.lang.String cuid, ISecuritySession secSession)
          This method is used to provide Virtual Metrics for the managed entity.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static VirtualMetricsManager instance

This is an internal method.


logger

public static ILogger logger

This is an internal method.

Method Detail

getInstance

public static VirtualMetricsManager getInstance()

This method is used to retrieve the instance of the VirtualMetricsManager.

Returns:
VirtualMetricsManager

getVirtualMetrics

public java.util.Map getVirtualMetrics(java.lang.String cuid,
                                       ISecuritySession secSession)
                                throws SDKException,
                                       java.lang.ClassNotFoundException,
                                       java.lang.NoSuchMethodException,
                                       java.lang.InstantiationException,
                                       java.lang.IllegalAccessException,
                                       java.lang.reflect.InvocationTargetException,
                                       java.net.MalformedURLException

This method is used to provide Virtual Metrics for the managed entity.

Parameters:
cuid - cuid of the managed entity
secSession - ISecuritySession
Returns:
Map of the probe name and the VirtualMertics
Throws:
java.lang.ClassNotFoundException - Exception
java.lang.IllegalAccessException - Exception
java.lang.InstantiationException - Exception
java.lang.reflect.InvocationTargetException - Exception
java.net.MalformedURLException - Exception
java.lang.NoSuchMethodException - Exception
SDKException - An SDKException

getUnAssociatedProbes

public java.util.List getUnAssociatedProbes(ISecuritySession secSession)

This method is used to provide all unassociated Virtual Metrics for all the Health Probes.

Parameters:
secSession - ISecurity Session
Returns:
List of Probe InfoObject

getUnAssociatedVMetrics

public java.util.Map getUnAssociatedVMetrics(ISecuritySession secSession)
                                      throws SDKException,
                                             java.lang.ClassNotFoundException,
                                             java.lang.NoSuchMethodException,
                                             java.lang.InstantiationException,
                                             java.lang.IllegalAccessException,
                                             java.lang.reflect.InvocationTargetException,
                                             java.net.MalformedURLException

This method is used to provide unassociated Virtual Metrics for all the Health Probes.

Parameters:
secSession - ISecuritySession
Returns:
Map of the probe name and the VirtualMertics
Throws:
java.lang.ClassNotFoundException - Exception
java.lang.IllegalAccessException - Exception
java.lang.InstantiationException - Exception
java.lang.reflect.InvocationTargetException - Exception
java.net.MalformedURLException - Exception
java.lang.NoSuchMethodException - Exception
SDKException - An SDKException

getUnAssociatedVMetrics

public IVirtualMetrics getUnAssociatedVMetrics(java.lang.String cuid,
                                               ISecuritySession secSession)
                                        throws SDKException,
                                               java.net.MalformedURLException,
                                               java.lang.ClassNotFoundException,
                                               java.lang.NoSuchMethodException,
                                               java.lang.InstantiationException,
                                               java.lang.IllegalAccessException,
                                               java.lang.reflect.InvocationTargetException

This method is used to provide unassociated Virtual Metrics for a specific probe, returns null if the cuid is invalid.

Parameters:
cuid - cuid of the probe
secSession - ISecuirtySession
Returns:
IVirtualMetrics
Throws:
java.lang.ClassNotFoundException - Exception
java.lang.IllegalAccessException - Exception
java.lang.InstantiationException - Exception
java.lang.reflect.InvocationTargetException - Exception
java.net.MalformedURLException - Exception
java.lang.NoSuchMethodException - Exception
SDKException - An SDKException