|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.monitor.MonitorUtil
public class MonitorUtil
Utility methods for the monitoring framework.
Constructor Summary | |
---|---|
MonitorUtil()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MonitorUtil()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |