01: /*
02: * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.desktop.monitoring;
06:
07: import com.sun.common.pool.Pool;
08: import com.sun.portal.monitoring.Subsystem;
09:
10: public interface MonitoringSubsystem extends Subsystem {
11: public static final String DESKTOP_MONITORING_RESOURCE_BUNDLE_BASE_NAME = "desktopMonitoring";
12: public static final String CACHED_CONTENT = "CachedContent";
13: public static final String CHANNEL_ACTION_CONTENT = "Content";
14: public static final String CHANNEL_ACTION_EDIT = "Edit";
15: public static final String CHANNEL_ACTION_PROCESS = "Process";
16:
17: public DesktopRequestStatistic getDesktopRequestStatistic();
18:
19: public ChannelActionStatistic getContentChannelActionStatistic();
20:
21: public ChannelActionStatistic getEditChannelActionStatistic();
22:
23: public ChannelActionStatistic getProcessChannelActionStatistic();
24:
25: public ChannelCacheHitsStatistic getChannelCacheHitsStatistic();
26:
27: public void createPoolStatistic(String poolId, int minSize,
28: Pool pool);
29:
30: public void startDesktopServiceTransaction(String serviceName);
31:
32: public void stopDesktopServiceTransaction(String serviceName);
33:
34: public void startProviderServiceTransaction(String encodedFQCN,
35: String serviceName);
36:
37: public void stopProviderServiceTransaction(String encodedFQCN,
38: String serviceName);
39:
40: public Object getDesktopContentServiceTransaction();
41:
42: public void startProviderContentServiceTransaction(
43: String encodedFQCN);
44:
45: public void stopProviderContentServiceTransaction(String encodedFQCN);
46:
47: public void updateCallerThreadPool(Pool pool);
48:
49: public void updateGetterThreadPool(Pool pool);
50:
51: public void startDesktopServiceAccessURITransaction();
52:
53: public void stopDesktopServiceAccessURITransaction();
54: }
|