public class MonitorUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MONITOR_DATABASE_ID
The database identifier used for accessing the
CollectedMeasure persistence. |
Constructor and Description |
---|
MonitorUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
removeChannelAggregationValues()
Remove the aggregation values set by
setChannelAggregationValues(String, ITransaction)
in the monitor context. |
static void |
removePageAggregationValues()
Remove the aggregation values set by
setPageAggregationValues(PageConfig, ITransaction) . |
static void |
removeServiceInstanceAggregationValues()
Remove the aggregation values set by
setServiceInstanceAggregationValues(ServiceInstanceConfig, ITransaction) . |
static void |
setChannelAggregationValues(Map<String,String> aggregationValues,
String channelId,
ITransaction transaction)
Set the specified channel's default aggregation values in the given map.
|
static void |
setChannelAggregationValues(String channelId,
ITransaction transaction)
Set the specified channel as the current channel in the monitor context.
|
static void |
setPageAggregationValues(Map<String,String> aggregationValues,
PageConfig pageConfig,
ITransaction transaction)
Set the specified page's default aggregation values in the given map.
|
static void |
setPageAggregationValues(PageConfig pageConfig,
ITransaction transaction)
Set the specified page as the current page in the monitor context.
|
static void |
setServiceInstanceAggregationValues(Map<String,String> aggregationValues,
ServiceInstanceConfig serviceInstanceConfig,
ITransaction transaction)
Set the specified service instance's default aggregation values in the given map.
|
static void |
setServiceInstanceAggregationValues(ServiceInstanceConfig serviceInstanceConfig,
ITransaction transaction)
Set the specified service instance as the current service instance in
the monitor context.
|
public static final String MONITOR_DATABASE_ID
CollectedMeasure
persistence.public static void setChannelAggregationValues(String channelId, ITransaction transaction) throws PortalException
IAggregationType.AGGREGATION_TYPE_CHANNEL_PATH
and IAggregationType.AGGREGATION_TYPE_CHANNEL_FRIENDLY_PATH
aggregation values in the IMonitorContext
.channelId
- the channel id.transaction
- the transaction for persistence access.PortalException
removeChannelAggregationValues()
public static void setChannelAggregationValues(Map<String,String> aggregationValues, String channelId, ITransaction transaction) throws PortalException
IAggregationType.AGGREGATION_TYPE_CHANNEL_PATH
and IAggregationType.AGGREGATION_TYPE_CHANNEL_FRIENDLY_PATH
aggregation values.aggregationValues
- the aggregation values map.channelId
- the channel id.transaction
- the transaction for persistence access.PortalException
public static void removeChannelAggregationValues()
setChannelAggregationValues(String, ITransaction)
in the monitor context.public static void setPageAggregationValues(PageConfig pageConfig, ITransaction transaction) throws PortalException
IAggregationType.AGGREGATION_TYPE_CHANNEL_PATH
,
IAggregationType.AGGREGATION_TYPE_CHANNEL_FRIENDLY_PATH
and IAggregationType.AGGREGATION_TYPE_PAGE_NAME
aggregation values in the IMonitorContext
.pageConfig
- the page.transaction
- the transaction for persistence access.PortalException
removePageAggregationValues()
public static void setPageAggregationValues(Map<String,String> aggregationValues, PageConfig pageConfig, ITransaction transaction) throws PortalException
IAggregationType.AGGREGATION_TYPE_CHANNEL_PATH
,
IAggregationType.AGGREGATION_TYPE_CHANNEL_FRIENDLY_PATH
and IAggregationType.AGGREGATION_TYPE_PAGE_NAME
aggregation values.aggregationValues
- the aggregation values map.pageConfig
- the page.transaction
- the transaction for persistence access.PortalException
public static void removePageAggregationValues()
setPageAggregationValues(PageConfig, ITransaction)
.public static void setServiceInstanceAggregationValues(ServiceInstanceConfig serviceInstanceConfig, ITransaction transaction) throws PortalException
IAggregationType.AGGREGATION_TYPE_CHANNEL_PATH
,
IAggregationType.AGGREGATION_TYPE_CHANNEL_FRIENDLY_PATH
and IAggregationType.AGGREGATION_TYPE_SERVICE_INSTANCE_NAME
aggregation values in the IMonitorContext
.serviceInstanceConfig
- the service instance.transaction
- the transaction for persistence access.PortalException
public static void setServiceInstanceAggregationValues(Map<String,String> aggregationValues, ServiceInstanceConfig serviceInstanceConfig, ITransaction transaction) throws PortalException
IAggregationType.AGGREGATION_TYPE_CHANNEL_PATH
,
IAggregationType.AGGREGATION_TYPE_CHANNEL_FRIENDLY_PATH
and IAggregationType.AGGREGATION_TYPE_SERVICE_INSTANCE_NAME
aggregation values.aggregationValues
- the aggregation values map.serviceInstanceConfig
- the service instance.transaction
- the transaction for persistence access.PortalException
public static void removeServiceInstanceAggregationValues()
setServiceInstanceAggregationValues(ServiceInstanceConfig, ITransaction)
.removeServiceInstanceAggregationValues()
Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.