1 tony 1.1 // ===================================================================
2 // Title: Application MOF Specification 2.8, Application Server
3 // Statistics Model
4 // Filename: Application28_AppServerStats.mof
5 // Version: 2.8
6 // Status: Preliminary
7 // Date: 11 August 2003
8 // ===================================================================
9 // Copyright 1998-2003 Distributed Management Task Force, Inc. (DMTF).
10 // All rights reserved.
11 // DMTF is a not-for-profit association of industry members dedicated
12 // to promoting enterprise and systems management and interoperability.
13 // DMTF specifications and documents may be reproduced for uses
14 // consistent with this purpose by members and non-members,
15 // provided that correct attribution is given.
16 // As DMTF specifications may be revised from time to time,
17 // the particular version and release date should always be noted.
18 //
19 // Implementation of certain elements of this standard or proposed
20 // standard may be subject to third party patent rights, including
21 // provisional patent rights (herein "patent rights"). DMTF makes
22 tony 1.1 // no representations to users of the standard as to the existence
23 // of such rights, and is not responsible to recognize, disclose, or
24 // identify any or all such third party patent right, owners or
25 // claimants, nor for any incomplete or inaccurate identification or
26 // disclosure of such rights, owners or claimants. DMTF shall have no
27 // liability to any party, in any manner or circumstance, under any
28 // legal theory whatsoever, for failure to recognize, disclose, or
29 // identify any such third party patent rights, or for such party's
30 // reliance on the standard or incorporation thereof in its product,
31 // protocols or testing procedures. DMTF shall have no liability to
32 // any party implementing such standard, whether such implementation
33 // is foreseeable or not, nor to any patent owner or claimant, and shall
34 // have no liability or responsibility for costs or losses incurred if
35 // a standard is withdrawn or modified after publication, and shall be
36 // indemnified and held harmless by any party implementing the
37 // standard from any and all claims of infringement by a patent owner
38 // for such implementations.
39 //
40 // For information about patents held by third-parties which have
41 // notified the DMTF that, in their opinion, such patent may relate to
42 // or impact implementations of DMTF standards, visit
43 tony 1.1 // http://www.dmtf.org/about/policies/disclosures.php.
44 // ===================================================================
45 // Description: These classes represent the characterization of the
46 // management of a Java application server as defined in JSR 77
47 // Version 1.0. They are maintained as a separate MOF file in the
48 // Application Model.
49 //
50 // The object classes below are listed in an order that
51 // avoids forward references. Required objects, defined
52 // by other working groups, are omitted.
53 // ==================================================================
54 // Change Log for v2.8 Preliminary (Company Review)
55 // 31 July 2003
56 // - CR 1111 - Remove subclasses of ElementStatisticalData
57 // connecting ManagedElements to their Statistics.
58 // - CR 1114 - Clean up Stats classes and use CIM datetime
59 // type in the Application Server model
60 //
61 // Change Log for v2.8 Preliminary
62 // 15 May 2003
63 // - CR 1008 - Original Application Server Model
64 tony 1.1 // ===================================================================
65
66 #pragma locale ("en_US")
67
68
69 // ==================================================================
70 // CIM_J2eeStatistic - JSR77.6.3
71 // ==================================================================
72 [Experimental, Abstract, Version ("2.7.1000"), Description (
73 "The J2eeStatistic class is a base class that defines the "
74 "properties that are common to all J2EE statistics. The JSR77 "
75 "specification defines a set of statistical types, then it "
76 "defines each J2EE statistic in terms of these types. Since "
77 "CIM does not support multiple inheritance or embedded objects, "
78 "the count, time, range, bounded range, and boundary statistics "
79 "defined have been broken out into individual properties for "
80 "each statistic that is defined in the JSR77 specification.\n"
81 "Many of the properties defined for J2EE statistics are "
82 "inherited from the CIM_StatisticalData class. Some of the "
83 "inherited properties are CIM dates, which are not consistent "
84 "with the definitions in the JSR77 specification. In order to "
85 tony 1.1 "minimize implementation differences, methods are defined to "
86 "provide the dates as specified. Some of the subclasses of "
87 "CIM_J2EEStatistic do not add any new properties. However, "
88 "these subclasses were chosen over adding a type property to "
89 "the superclass because the vendor extensions were likely to "
90 "result in classes with characteristics distinct enough to "
91 "warrant the existence of subclasses.") ]
92 class CIM_J2eeStatistic : CIM_StatisticalData {
93
94 [Description (
95 "The time the first measurement was taken represented as a "
96 "long, whose value is the number of milliseconds since "
97 "January 1, 1970,00:00:00. This method converts the "
98 "StartStatisticTime property to the format defined in the "
99 "JSR77 specification. The related property "
100 "CIM_StatisticalData.StartStatisticTime represents the same "
101 "information as a CIMDatetime entity."),
102 MappingStrings {"JSR77.JCP|JSR77.6.4.1.4 getStartTime|V1.0"},
103 ModelCorrespondence {"CIM_StatisticalData.StartStatisticTime"} ]
104 uint64 GetStartTime();
105
106 tony 1.1 [Description (
107 "The time the most recent measurement was taken represented "
108 "as a long, whose value is the number of milliseconds since "
109 "January 1, 1970,00:00:00. This method converts the "
110 "StatisticTime property to the format defined in the JSR77 "
111 "specification. The related property "
112 "CIM_StatisticalData.StatisticTime represents the same "
113 "information as a CIMDatatime entity."),
114 MappingStrings { "JSR77.JCP|JSR77.6.4.1.5 "
115 "getLastSampleTime|V1.0"},
116 ModelCorrespondence {"CIM_StatisticalData.StatisticTime"} ]
117 uint64 GetLastSampleTime();
118 };
119
120
121 // ====================================================================
122 // CIM_J2eeEJBStats
123 // ====================================================================
124 [Experimental, Abstract, Version ("2.7.1000"), Description (
125 "The J2eeEJBStats class defines the performance statistics that "
126 "are available for all EJB component types.") ]
127 tony 1.1 class CIM_J2eeEJBStats : CIM_J2eeStatistic {
128
129 [Description (
130 "A count of the number of times that the beans create method "
131 "was called."),
132 Counter,
133 MappingStrings {"JSR77.JCP|JSR77.6.11.1.1 getCreateCount|V1.0"} ]
134 uint64 CreateCount;
135
136 [Description (
137 "A count of the number of times that the beans remove method "
138 "was called."),
139 Counter,
140 MappingStrings {"JSR77.JCP|JSR77.6.11.1.2 getRemoveCount|V1.0"} ]
141 uint64 RemoveCount;
142 };
143
144
145 // ====================================================================
146 // CIM_J2eeEntityBeanStats - JSR77.6.12
147 // ====================================================================
148 tony 1.1 [Experimental, Version ("2.7.1000"), Description (
149 "The J2eeEntityBeanStats class defines the performance "
150 "statistics that are provided by entity beans.") ]
151 class CIM_J2eeEntityBeanStats : CIM_J2eeEJBStats {
152
153 [Description (
154 "The number of bean instances in the ready state."),
155 Counter,
156 MappingStrings { "JSR77.JCP|JSR77.6.12.1.1 getReadyCount|V1.0"} ]
157 uint64 ReadyCount;
158
159 [Description (
160 "The lowest number of bean instances in the ready state "
161 "since the beginning of the measurement."),
162 MappingStrings { "JSR77.JCP|JSR77.6.7.1.2 getLowWaterMark|V1.0"} ]
163 uint64 ReadyLowWaterMark;
164
165 [Description (
166 "The highest number of bean instances in the ready state "
167 "since the beginning of the measurement."),
168 MappingStrings { "JSR77.JCP|JSR77.6.7.1.1 "
169 tony 1.1 "getHighWaterMark|V1.0"} ]
170 uint64 ReadyHighWaterMark;
171
172 [Description (
173 "The number of bean instances in the pooled state."),
174 Counter,
175 MappingStrings { "JSR77.JCP|JSR77.6.12.1.2 getPooledCount|V1.0"} ]
176 uint64 PooledCount;
177
178 [Description (
179 "The lowest number of bean instances in the pooled state "
180 "since the beginning of the measurement."),
181 MappingStrings { "JSR77.JCP|JSR77.6.7.1.2 getLowWaterMark|V1.0"} ]
182 uint64 PooledLowWaterMark;
183
184 [Description (
185 "The highest number of bean instances in the pooled state "
186 "since the beginning of the measurement."),
187 MappingStrings { "JSR77.JCP|JSR77.6.7.1.1 "
188 "getHighWaterMark|V1.0"} ]
189 uint64 PooledHighWaterMark;
190 tony 1.1 };
191
192
193 // ====================================================================
194 // CIM_J2eeMessageDrivenBeanStats - JSR77.6.13
195 // ====================================================================
196 [Experimental, Version ("2.7.1000"), Description (
197 "The J2eeMessageDrivenBeanStats class defines the performance "
198 "statistics that are provided by message driven beans.") ]
199 class CIM_J2eeMessageDrivenBeanStats : CIM_J2eeEJBStats {
200
201 [Description (
202 "The number of messages received."),
203 Counter,
204 MappingStrings { "JSR77.JCP|JSR77.6.13.1.1 "
205 "getMessageCount|V1.0"} ]
206 uint64 MessageCount;
207 };
208
209
210 // ====================================================================
211 tony 1.1 // CIM_J2eeSessionBeanStats - JSR77.6.14
212 // ====================================================================
213 [Experimental, Abstract, Version ("2.7.1000"), Description (
214 "The J2eeSessionBeanStats class is a base class that defines "
215 "the performance statistics that are provided by both stateful "
216 "and stateless session beans.") ]
217 class CIM_J2eeSessionBeanStats : CIM_J2eeEJBStats {
218
219 [Description (
220 "The number of bean instances in the method-ready state."),
221 Counter,
222 MappingStrings { "JSR77.JCP|JSR77.6.14.1.1 "
223 "getMethodReadyCount|V1.0"} ]
224 uint64 MethodReadyCount;
225
226 [Description (
227 "The lowest number of bean instances in the method-ready "
228 "state since the beginning of the measurement."),
229 MappingStrings { "JSR77.JCP|JSR77.6.7.1.2 getLowWaterMark|V1.0"} ]
230 uint64 MethodReadyLowWaterMark;
231
232 tony 1.1 [Description (
233 "The highest number of bean instances in the method-ready "
234 "state since the beginning of the measurement."),
235 MappingStrings { "JSR77.JCP|JSR77.6.7.1.1 "
236 "getHighWaterMark|V1.0"} ]
237 uint64 MethodReadyHighWaterMark;
238 };
239
240
241 // ====================================================================
242 // CIM_J2eeStatefulSessionBeanStats - JSR77.6.15
243 // ====================================================================
244 [Experimental, Version ("2.7.1000"), Description (
245 "The J2eeStatefulSessionBeanStats class defines the performance "
246 "statistics that are provided by a stateful session bean.") ]
247 class CIM_J2eeStatefulSessionBeanStats : CIM_J2eeSessionBeanStats {
248
249 [Description (
250 "The number of bean instances in a passive state."),
251 Counter,
252 MappingStrings { "JSR77.JCP|JSR77.6.15.1.1 "
253 tony 1.1 "getPassiveCount|V1.0"} ]
254 uint64 PassiveCount;
255
256 [Description (
257 "The lowest number of bean instances in the passive state "
258 "since the beginning of the measurement."),
259 MappingStrings { "JSR77.JCP|JSR77.6.7.1.2 getLowWaterMark|V1.0"} ]
260 uint64 PassiveLowWaterMark;
261
262 [Description (
263 "The highest number of bean instances in the passive state "
264 "since the beginning of the measurement."),
265 MappingStrings { "JSR77.JCP|JSR77.6.7.1.1 "
266 "getHighWaterMark|V1.0"} ]
267 uint64 PassiveHighWaterMark;
268 };
269
270
271 // ====================================================================
272 // CIM_J2eeStatelessSessionBeanStats - JSR77.6.16
273 // ====================================================================
274 tony 1.1 [Experimental, Version ("2.7.1000"), Description (
275 "The J2eeStatelessSessionBeanStats class defines the "
276 "performance statistics that are provided by a stateless "
277 "session bean.") ]
278 class CIM_J2eeStatelessSessionBeanStats : CIM_J2eeSessionBeanStats {
279 };
280
281
282 // ====================================================================
283 // CIM_J2eeJavaMailStats - JSR77.6.17
284 // ====================================================================
285 [Experimental, Version ("2.7.1000"), Description (
286 "The J2eeJavaMailStats class defines the performance statistics "
287 "that are provided by Java mail resources.") ]
288 class CIM_J2eeJavaMailStats : CIM_J2eeStatistic {
289
290 [Description (
291 "The number of mail messages received."),
292 Counter,
293 MappingStrings { "JSR77.JCP|JSR77.6.13.1.1 "
294 "getSentMailCount|V1.0"} ]
295 tony 1.1 uint64 SentMailCount;
296 };
297
298
299 // ====================================================================
300 // CIM_J2eeJCAStats - JSR77.6.18
301 // ====================================================================
302 [Experimental, Version ("2.7.1000"), Description (
303 "The J2eeJCAStats class defines the performance statistics that "
304 "are provided by a JCA resource.") ]
305 class CIM_J2eeJCAStats : CIM_J2eeStatistic {
306 };
307
308 // ====================================================================
309 // CIM_J2eeConnectionStats - JSR77.6.18
310 // ====================================================================
311 [Experimental, Version ("2.7.1000"), Description (
312 "The J2eeConnectionStats class defines the performance "
313 "statistics that are provided by a connection. JCA and JDBC "
314 "connection statistics are represented by this class. The "
315 "semantics are determined by the class to which the "
316 tony 1.1 "ConnectionStats instance is associated via the "
317 "CIM_ElementStatisticalData association.") ]
318 class CIM_J2eeConnectionStats : CIM_J2eeStatistic {
319
320 [Description (
321 "The time spent waiting for a connection to be available. "
322 "The time is represented as a datetime interval."),
323 MappingStrings {"JSR77.JCP|JSR77.6.19.1.3 getWaitTime|V1.0"} ]
324 datetime WaitTime;
325
326 [Description (
327 "The maximum amount of time spent waiting for a connection "
328 "to be available since the beginning of this measurement. "
329 "The time is represented as a datetime interval."),
330 MappingStrings {"JSR77.JCP|JSR77.6.6.1.2 getMaxTime|V1.0"} ]
331 datetime WaitTimeMaxTime;
332
333 [Description (
334 "The minimum amount of time spent waiting for a connection "
335 "to be available since the beginning of this measurement. "
336 "The time is represented as a datetime interval."),
337 tony 1.1 MappingStrings {"JSR77.JCP|JSR77.6.6.1.3 getMinTime|V1.0"} ]
338 datetime WaitTimeMinTime;
339
340 [Description (
341 "The total amount of time spent waiting for a connection to "
342 "be available since the beginning of this measurement. "
343 "Dividing WaitTimeTotalTime by WaitTime will provide the "
344 "average time spent waiting for a connection. The time is "
345 "represented as a datetime interval."),
346 MappingStrings { "JSR77.JCP|JSR77.6.6.1.4 getTotalTime|V1.0"} ]
347 datetime WaitTimeTotalTime;
348
349 [Description (
350 "The time spent using a connection. The time is represented "
351 "as a datetime interval."),
352 MappingStrings { "JSR77.JCP|JSR77.6.19.1.3 getUseTime|V1.0"} ]
353 datetime UseTime;
354
355 [Description (
356 "The maximum amount of time spent using a connection since "
357 "the beginning of this measurement. The time is represented "
358 tony 1.1 "as a datetime interval."),
359 MappingStrings { "JSR77.JCP|JSR77.6.6.1.2 getMaxTime|V1.0"} ]
360 datetime UseTimeMaxTime;
361
362 [Description (
363 "The minimum amount of time spent using a connection since "
364 "the beginning of this measurement. The time is represented "
365 "as a datetime interval."),
366 MappingStrings { "JSR77.JCP|JSR77.6.6.1.3 getMinTime|V1.0"} ]
367 datetime UseTimeMinTime;
368
369 [Description (
370 "The total amount of time spent using a connection since the "
371 "beginning of this measurement. Dividing UseTimeTotalTime "
372 "by UseTime will provide the average time spent using a "
373 "connection. The time is represented as a datetime "
374 "interval."),
375 MappingStrings { "JSR77.JCP|JSR77.6.6.1.4 getTotalTime|V1.0"} ]
376 datetime UseTimeTotalTime;
377 };
378
379 tony 1.1 // ====================================================================
380 // CIM_J2eeConnectionPoolStats - JSR77.6.20
381 // ====================================================================
382 [Experimental, Version ("2.7.1000"), Description (
383 "The J2eeConnectionPoolStats class defines the performance "
384 "statistics that are provided by a connection pool. JCA and "
385 "JDBC connection pool statistics are represented by this "
386 "class. The semantics are determined by the class to which the "
387 "ConnectionStats instance is associated via the "
388 "CIM_ElementStatisticalData association.") ]
389 class CIM_J2eeConnectionPoolStats : CIM_J2eeConnectionStats {
390
391 [Description (
392 "The number of connections closed."),
393 Counter,
394 MappingStrings { "JSR77.JCP|JSR77.6.20.1.1 getCloseCount|V1.0"} ]
395 uint64 CloseCount;
396
397 [Description (
398 "The number of connections created."),
399 Counter,
400 tony 1.1 MappingStrings { "JSR77.JCP|JSR77.6.20.1.2 getCreateCount|V1.0"} ]
401 uint64 CreateCount;
402
403 [Description (
404 "The number of free connections in the pool."),
405 Gauge,
406 MappingStrings { "JSR77.JCP|JSR77.6.20.1.3 "
407 "getFreePoolSize|V1.0"} ]
408 uint64 FreePoolSize;
409
410 [Description (
411 "The upper limit for the number of free connections in the "
412 "pool."),
413 MappingStrings { "JSR77.JCP|JSR77.6.8.1.1 getUpperBound|V1.0"} ]
414 uint64 FreePoolSizeUpperBound;
415
416 [Description (
417 "The lower limit for the number of free connections in the "
418 "pool."),
419 MappingStrings { "JSR77.JCP|JSR77.6.8.1.2 getLowerBound|V1.0"} ]
420 uint64 FreePoolSizeLowerBound;
421 tony 1.1
422 [Description (
423 "The lowest number of free connections in the pool since the "
424 "beginning of the measurement."),
425 MappingStrings { "JSR77.JCP|JSR77.6.7.1.2 getLowWaterMark|V1.0"} ]
426 uint64 FreePoolSizeLowWaterMark;
427
428 [Description (
429 "The highest number of free connections in the pool since "
430 "the beginning of the measurement."),
431 MappingStrings { "JSR77.JCP|JSR77.6.7.1.1 "
432 "getHighWaterMark|V1.0"} ]
433 uint64 FreePoolSizeHighWaterMark;
434
435 [Description (
436 "The size of the connection pool."),
437 Gauge,
438 MappingStrings {"JSR77.JCP|JSR77.6.20.1.4 getPoolSize|V1.0"} ]
439 uint64 PoolSize;
440
441 [Description (
442 tony 1.1 "The upper limit for the size of the connection pool."),
443 MappingStrings {"JSR77.JCP|JSR77.6.8.1.1 getUpperBound|V1.0"} ]
444 uint64 PoolSizeUpperBound;
445
446 [Description (
447 "The lower limit for the size of the connection pool."),
448 MappingStrings {"JSR77.JCP|JSR77.6.8.1.2 getLowerBound|V1.0"} ]
449 uint64 PoolSizeLowerBound;
450
451 [Description (
452 "The lowest size of the connection pool since the beginning "
453 "of the measurement."),
454 MappingStrings { "JSR77.JCP|JSR77.6.7.1.2 getLowWaterMark|V1.0"} ]
455 uint64 PoolSizeLowWaterMark;
456
457 [Description (
458 "The largest size of the connection pool since the beginning "
459 "of the measurement."),
460 MappingStrings { "JSR77.JCP|JSR77.6.7.1.1 "
461 "getHighWaterMark|V1.0"} ]
462 uint64 PoolSizeHighWaterMark;
463 tony 1.1
464 [Description (
465 "The number of threads waiting for a connection."),
466 Gauge,
467 MappingStrings { "JSR77.JCP|JSR77.6.20.1.5 "
468 "getWaitingThreadCount|V1.0"} ]
469 uint64 WaitingThreadCount;
470
471 [Description (
472 "The upper limit for the number of threads waiting for a "
473 "connection."),
474 MappingStrings { "JSR77.JCP|JSR77.6.8.1.1 getUpperBound|V1.0"} ]
475 uint64 WaitingThreadCountUpperBound;
476
477 [Description (
478 "The lower limit for the number of threads waiting for a "
479 "connection."),
480 MappingStrings {"JSR77.JCP|JSR77.6.8.1.2 getLowerBound|V1.0"} ]
481 uint64 WaitingThreadCountLowerBound;
482
483 [Description (
484 tony 1.1 "The lowest number of threads waiting for a connection since "
485 "the beginning of the measurement."),
486 MappingStrings { "JSR77.JCP|JSR77.6.7.1.2 getLowWaterMark|V1.0"} ]
487 uint64 WaitingThreadCountLowWaterMark;
488
489 [Description (
490 "The highest number of threads waiting for a connection "
491 "since the beginning of the measurement."),
492 MappingStrings { "JSR77.JCP|JSR77.6.7.1.1 "
493 "getHighWaterMark|V1.0"} ]
494 uint64 WaitingThreadCountHighWaterMark;
495 };
496
497 // ==================================================================
498 // CIM_J2eeJCANonpooledConnections (Association) - JSR77.6.18.1.1
499 // ==================================================================
500 [Association, Experimental, Version ("2.7.1000"), Description (
501 "CIM_J2eeJCANonpooledConnections provides the list of "
502 "statistics for the non-connections pools that are associated "
503 "with the referencing JCA resource statistics.") ]
504 class CIM_J2eeJCANonpooledConnections : CIM_RelatedStatisticalData {
505 tony 1.1
506 [Override ("Stats"), Description (
507 "The JCA resource statistic.") ]
508 CIM_J2eeJCAStats REF Stats;
509
510 [Override ("RelatedStats"), Description (
511 "The related JCA connection statistics.") ]
512 CIM_J2eeConnectionStats REF RelatedStats;
513 };
514
515 // ==================================================================
516 // CIM_J2eeJCAConnectionPools (Association) - JSR77.6.18.1.2
517 // ==================================================================
518 [Association, Experimental, Version ("2.7.1000"), Description (
519 "CIM_J2eeJCAConnectionPools provides the list of statistics "
520 "about the connections pools that are associated with the "
521 "referencing JCA resource statistics.") ]
522 class CIM_J2eeJCAConnectionPools : CIM_RelatedStatisticalData {
523
524 [Override ("Stats"), Description (
525 "The JCA resource statistic.") ]
526 tony 1.1 CIM_J2eeJCAStats REF Stats;
527
528 [Override ("RelatedStats"), Description (
529 "The related JCA connection pool statistics.") ]
530 CIM_J2eeConnectionPoolStats REF RelatedStats;
531 };
532
533 // ====================================================================
534 // CIM_J2eeJDBCStats - JSR77.6.21
535 // ====================================================================
536 [Experimental, Version ("2.7.1000"), Description (
537 "The J2eeJDBCStats class defines the performance statistics "
538 "that are provided by a JDBC resource.") ]
539 class CIM_J2eeJDBCStats : CIM_J2eeStatistic {
540 };
541
542
543 // ==================================================================
544 // CIM_J2eeJDBCNonpooledConnections (Association) - JSR77.6.21.1.1
545 // ==================================================================
546 [Association, Experimental, Version ("2.7.1000"), Description (
547 tony 1.1 "CIM_J2eeJDBCNonpooledConnections provides the list of "
548 "statistics for the non-connections pools that are associated "
549 "with the referencing JDBC resource statistics.") ]
550 class CIM_J2eeJDBCNonpooledConnections : CIM_RelatedStatisticalData {
551
552 [Override ("Stats"), Description (
553 "The JDBC resource statistic.") ]
554 CIM_J2eeJDBCStats REF Stats;
555
556 [Override ("RelatedStats"), Description (
557 "The related JDBC connection statistics.") ]
558 CIM_J2eeConnectionStats REF RelatedStats;
559 };
560
561 // ==================================================================
562 // CIM_J2eeJDBCConnectionPools (Association) - JSR77.6.21.1.2
563 // ==================================================================
564 [Association, Experimental, Version ("2.7.1000"), Description (
565 "CIM_J2eeJDBCConnectionPools provides the list of statistics "
566 "about the connections pools that are associated with the "
567 "referencing JDBC resource statistics.") ]
568 tony 1.1 class CIM_J2eeJDBCConnectionPools : CIM_RelatedStatisticalData {
569
570 [Override ("Stats"), Description (
571 "The JDBC resource statistic.") ]
572 CIM_J2eeJDBCStats REF Stats;
573
574 [Override ("RelatedStats"), Description (
575 "The related JDBC connection pool statistics.") ]
576 CIM_J2eeConnectionPoolStats REF RelatedStats;
577 };
578
579 // ====================================================================
580 // CIM_J2eeJMSStats - JSR77.6.24
581 // ====================================================================
582 [Experimental, Version ("2.7.1000"), Description (
583 "The CIM_J2eeJMSStats class defines the performance statistics "
584 "that are provided by a JMS resource.") ]
585 class CIM_J2eeJMSStats : CIM_J2eeStatistic {
586 };
587
588
589 tony 1.1 // ====================================================================
590 // CIM_J2eeJMSConnectionStats - JSR77.6.25
591 // ====================================================================
592 [Experimental, Version ("2.7.1000"), Description (
593 "The CIM_J2eeJMSConnectionStats class defines the performance "
594 "statistics that are provided by a JMS connection.") ]
595 class CIM_J2eeJMSConnectionStats : CIM_J2eeStatistic {
596
597 [Description (
598 "The transactional state of the JMS connection. A value of "
599 "true indicates that the JMS connection is transactional."),
600 MappingStrings { "JSR77.JCP|JSR77.6.25.1.2 "
601 "isTransactional|V1.0"} ]
602 boolean IsTransactional;
603 };
604
605
606 // ==================================================================
607 // CIM_J2eeJMSStatConnections (Association) - JSR77.6.24.1.1
608 // ==================================================================
609 [Association, Experimental, Version ("2.7.1000"), Description (
610 tony 1.1 "CIM_J2eeJMSStatConnections provides the list of JMS connection "
611 "statistics that are associated with the referencing JMS "
612 "resource statistics.") ]
613 class CIM_J2eeJMSStatConnections : CIM_RelatedStatisticalData {
614
615 [Override ("Stats"), Min (1), Description (
616 "The JMS resource statistic.") ]
617 CIM_J2eeJMSStats REF Stats;
618
619 [Override ("RelatedStats"), Description (
620 "The related JMS connection statistics.") ]
621 CIM_J2eeJMSConnectionStats REF RelatedStats;
622 };
623
624 // ====================================================================
625 // CIM_J2eeJMSSessionStats - JSR77.6.26
626 // ====================================================================
627 [Experimental, Version ("2.7.1000"), Description (
628 "The CIM_J2eeJMSSessionStats class defines the performance "
629 "statistics that are provided by a JMS session.") ]
630 class CIM_J2eeJMSSessionStats : CIM_J2eeStatistic {
631 tony 1.1
632 [Description (
633 "The number of durable subscriptions."),
634 Counter,
635 MappingStrings { "JSR77.JCP|JSR77.6.26.1.3 "
636 "getDurableSubscriptionCount|V1.0"} ]
637 uint64 DurableSubscriptionCount;
638
639 [Description (
640 "The number of expired messages."),
641 Counter,
642 MappingStrings { "JSR77.JCP|JSR77.6.26.1.4 "
643 "getExpiredMessageCount|V1.0"} ]
644 uint64 ExpiredMessageCount;
645
646 [Description (
647 "The number of messages exchanged."),
648 Counter,
649 MappingStrings { "JSR77.JCP|JSR77.6.26.1.5 "
650 "getMessageCount|V1.0"} ]
651 uint64 MessageCount;
652 tony 1.1
653 [Description (
654 "The time spent by a message before being delivered. The "
655 "time is represented as a datetime interval."),
656 MappingStrings { "JSR77.JCP|JSR77.6.26.1.6 "
657 "getMessageWaitTime|V1.0"} ]
658 datetime MessageWaitTime;
659
660 [Description (
661 "The maximum amount of time spent by a message before being "
662 "delivered since the beginning of this measurement. The "
663 "time is represented as a datetime interval."),
664 MappingStrings {"JSR77.JCP|JSR77.6.6.1.2 getMaxTime|V1.0"} ]
665 datetime MessageWaitTimeMaxTime;
666
667 [Description (
668 "The minimum amount of time spent by a message before being "
669 "delivered since the beginning of this measurement. The "
670 "time is represented as a datetime interval."),
671 MappingStrings {"JSR77.JCP|JSR77.6.6.1.3 getMinTime|V1.0"} ]
672 datetime MessageWaitTimeMinTime;
673 tony 1.1
674 [Description (
675 "The total amount of time spent by a message before being "
676 "delivered since the beginning of this measurement. "
677 "Dividing MessageWaitTimeTotalTime by MessageWaitTime will "
678 "provide the average time spent using a connection. The "
679 "time is represented as a datetime interval."),
680 MappingStrings {"JSR77.JCP|JSR77.6.6.1.4 getTotalTime|V1.0"} ]
681 datetime MessageWaitTimeTotalTime;
682
683 [Description (
684 "The number of pending messages."),
685 Counter,
686 MappingStrings { "JSR77.JCP|JSR77.6.26.1.7 "
687 "getPendingMessageCount|V1.0"} ]
688 uint64 PendingMessageCount;
689 };
690
691
692 // ====================================================================
693 // CIM_J2eeJMSEndpointStats - JSR77.6.27
694 tony 1.1 // ====================================================================
695 [Experimental, Abstract, Version ("2.7.1000"), Description (
696 "The CIM_J2eeJMSEndpointStats class is a base class that "
697 "defines the performance statistics that are provided by a JMS "
698 "message producer or JMS message consumer.") ]
699 class CIM_J2eeJMSEndpointStats : CIM_J2eeStatistic {
700
701 [Description (
702 "The number of messages that expired before delivery."),
703 Counter,
704 MappingStrings { "JSR77.JCP|JSR77.6.27.1.1 "
705 "getExpiredMessageCount|V1.0"} ]
706 uint64 ExpiredMessageCount;
707
708 [Description (
709 "The number of messages sent or received."),
710 Counter,
711 MappingStrings { "JSR77.JCP|JSR77.6.27.1.2 "
712 "getMessageCount|V1.0"} ]
713 uint64 MessageCount;
714
715 tony 1.1 [Description (
716 "The time spent by a message before being delivered. The "
717 "time is represented as a datetime interval."),
718 MappingStrings { "JSR77.JCP|JSR77.6.27.1.3 "
719 "getMessageWaitTime|V1.0"} ]
720 datetime MessageWaitTime;
721
722 [Description (
723 "The maximum amount of time spent by a message before being "
724 "delivered since the beginning of this measurement. The "
725 "time is represented as a datetime interval."),
726 MappingStrings { "JSR77.JCP|JSR77.6.6.1.2 getMaxTime|V1.0"} ]
727 datetime MessageWaitTimeMaxTime;
728
729 [Description (
730 "The minimum amount of time spent by a message before being "
731 "delivered since the beginning of this measurement. The "
732 "time is represented as a datetime interval."),
733 MappingStrings {"JSR77.JCP|JSR77.6.6.1.3 getMinTime|V1.0"} ]
734 datetime MessageWaitTimeMinTime;
735
736 tony 1.1 [Description (
737 "The total amount of time spent by a message before being "
738 "delivered since the beginning of this measurement. "
739 "Dividing MessageWaitTimeTotalTime by MessageWaitTime will "
740 "provide the average time spent using a connection. The "
741 "time is represented as a datetime interval."),
742 MappingStrings {"JSR77.JCP|JSR77.6.6.1.4 getTotalTime|V1.0"} ]
743 datetime MessageWaitTimeTotalTime;
744
745 [Description (
746 "The number of pending messages."),
747 Counter,
748 MappingStrings { "JSR77.JCP|JSR77.6.27.1.4 "
749 "getPendingMessageCount|V1.0"} ]
750 uint64 PendingMessageCount;
751 };
752
753
754 // ====================================================================
755 // CIM_J2eeJMSProducerStats - JSR77.6.28
756 // ====================================================================
757 tony 1.1 [Experimental, Version ("2.7.1000"), Description (
758 "The CIM_J2eeJMSProducerStats class defines the performance "
759 "statistics that are provided by a JMS message producer.") ]
760 class CIM_J2eeJMSProducerStats : CIM_J2eeJMSEndpointStats {
761
762 [Description (
763 "A string that encapsulates the identity of the message "
764 "destination."),
765 MappingStrings { "JSR77.JCP|JSR77.6.28.1.1 getDestination|V1.0"} ]
766 string Destination;
767 };
768
769
770 // ====================================================================
771 // CIM_J2eeJMSConsumerStats - JSR77.6.29
772 // ====================================================================
773 [Experimental, Version ("2.7.1000"), Description (
774 "The CIM_J2eeJMSConsumerStats class defines the performance "
775 "statistics that are provided by a JMS message consumer.") ]
776 class CIM_J2eeJMSConsumerStats : CIM_J2eeJMSEndpointStats {
777
778 tony 1.1 [Description (
779 "A string that encapsulates the identity of the message "
780 "origin."),
781 MappingStrings {"JSR77.JCP|JSR77.6.29.1.1 getOrigin|V1.0"} ]
782 string Origin;
783 };
784
785
786 // ==================================================================
787 // CIM_J2eeJMSConnectionSessions (Association) - JSR77.6.25.1.1
788 // ==================================================================
789 [Association, Experimental, Version ("2.7.1000"), Description (
790 "CIM_J2eeJMSConnectionSessions identifies the JMS session "
791 "statistics that are associated with the referencing JMS "
792 "connection statistics.") ]
793 class CIM_J2eeJMSConnectionSessions : CIM_RelatedStatisticalData {
794
795 [Override ("Stats"), Min (1), Description (
796 "The JMS connection statistic.") ]
797 CIM_J2eeJMSConnectionStats REF Stats;
798
799 tony 1.1 [Override ("RelatedStats"), Description (
800 "The related JMS session statistics.") ]
801 CIM_J2eeJMSSessionStats REF RelatedStats;
802 };
803
804
805 // ==================================================================
806 // CIM_J2eeJMSSessionProducers (Association) - JSR77.6.26.1.1
807 // ==================================================================
808 [Association, Experimental, Version ("2.7.1000"), Description (
809 "CIM_J2eeJMSSessionProducers identifies the JMS producer "
810 "statistics that are associated with the referencing JMS "
811 "session statistics.") ]
812 class CIM_J2eeJMSSessionProducers : CIM_RelatedStatisticalData {
813
814 [Override ("Stats"), Min (1), Description (
815 "The JMS session statistic.") ]
816 CIM_J2eeJMSSessionStats REF Stats;
817
818 [Override ("RelatedStats"), Description (
819 "The related JMS producer statistics.") ]
820 tony 1.1 CIM_J2eeJMSProducerStats REF RelatedStats;
821 };
822
823
824 // ==================================================================
825 // CIM_J2eeJMSSessionConsumers (Association) - JSR77.6.26.1.2
826 // ==================================================================
827 [Association, Experimental, Version ("2.7.1000"), Description (
828 "CIM_J2eeJMSSessionConsumers identifies the JMS consumer "
829 "statistics that are associated with the referencing JMS "
830 "session statistics.") ]
831 class CIM_J2eeJMSSessionConsumers : CIM_RelatedStatisticalData {
832
833 [Override ("Stats"), Min (1), Description (
834 "The JMS session statistic.") ]
835 CIM_J2eeJMSSessionStats REF Stats;
836
837 [Override ("RelatedStats"), Description (
838 "The related JMS consumer statistics.") ]
839 CIM_J2eeJMSConsumerStats REF RelatedStats;
840 };
841 tony 1.1
842
843 // ====================================================================
844 // CIM_J2eeJTAStats - JSR77.6.30
845 // ====================================================================
846 [Experimental, Version ("2.7.1000"), Description (
847 "The CIM_J2eeJTAStats class defines the performance statistics "
848 "that are provided by a JTA resource.") ]
849 class CIM_J2eeJTAStats : CIM_J2eeStatistic {
850
851 [Description (
852 "The number of active transactions."),
853 Counter,
854 MappingStrings { "JSR77.JCP|JSR77.6.30.1.1 getActiveCount|V1.0"} ]
855 uint64 ActiveCount;
856
857 [Description (
858 "The number of committed transactions."),
859 Counter,
860 MappingStrings { "JSR77.JCP|JSR77.6.30.1.2 "
861 "getCommittedCount|V1.0"} ]
862 tony 1.1 uint64 CommittedCount;
863
864 [Description (
865 "The number of rolled-back transactions."),
866 Counter,
867 MappingStrings { "JSR77.JCP|JSR77.6.30.1.3 "
868 "getRolledbackCount|V1.0"} ]
869 uint64 RolledbackCount;
870 };
871
872
873 // ====================================================================
874 // CIM_J2eeJVMStats - JSR77.6.31
875 // ====================================================================
876 [Experimental, Version ("2.7.1000"), Description (
877 "The CIM_J2eeJVMStats class defines the performance statistics "
878 "that are provided by a Java VM.") ]
879 class CIM_J2eeJVMStats : CIM_J2eeStatistic {
880
881 [Description (
882 "The heap size of the JVM."),
883 tony 1.1 Units ("Bytes"), Gauge,
884 MappingStrings {"JSR77.JCP|JSR77.6.31.1.1 getHeapSize|V1.0"} ]
885 uint64 HeapSize;
886
887 [Description (
888 "The upper limit for the heap size of the JVM."),
889 Units ("Bytes"),
890 MappingStrings {"JSR77.JCP|JSR77.6.8.1.1 getUpperBound|V1.0"} ]
891 uint64 HeapSizeUpperBound;
892
893 [Description (
894 "The lower limit for the heap size of the JVM."),
895 Units ("Bytes"),
896 MappingStrings {"JSR77.JCP|JSR77.6.8.1.2 getLowerBound|V1.0"} ]
897 uint64 HeapSizeLowerBound;
898
899 [Description (
900 "The smallest size of the JVM heap since the beginning of "
901 "the measurement."),
902 Units ("Bytes"),
903 MappingStrings {"JSR77.JCP|JSR77.6.7.1.2 getLowWaterMark|V1.0"} ]
904 tony 1.1 uint64 HeapSizeLowWaterMark;
905
906 [Description (
907 "The largest size of the JVM heap since the beginning of the "
908 "measurement."),
909 Units ("Bytes"),
910 MappingStrings { "JSR77.JCP|JSR77.6.7.1.1 "
911 "getHighWaterMark|V1.0"} ]
912 uint64 HeapSizeHighWaterMark;
913
914 [Description (
915 "The amount of time the JVM has been running. The time is "
916 "represented as a datetime interval."),
917 Counter,
918 MappingStrings {"JSR77.JCP|JSR77.6.31.1.2 getUpTime|V1.0"} ]
919 datetime UpTime;
920 };
921
922
923 // ====================================================================
924 // CIM_J2eeServletStats - JSR77.6.32
925 tony 1.1 // ====================================================================
926 [Experimental, Version ("2.7.1000"), Description (
927 "The CIM_J2eeServletStats class defines the performance "
928 "statistics that are provided by a Servlet component.") ]
929 class CIM_J2eeServletStats : CIM_J2eeStatistic {
930
931 [Description (
932 "The execution time of the servlet's service method. The "
933 "time is represented as a datetime interval."),
934 MappingStrings {"JSR77.JCP|JSR77.6.32.1.1 getServiceTime|V1.0"} ]
935 datetime ServiceTime;
936
937 [Description (
938 "The maximum execution time of the servlet's service method "
939 "since the beginning of this measurement. The time is "
940 "represented as a datetime interval."),
941 MappingStrings {"JSR77.JCP|JSR77.6.6.1.2 getMaxTime|V1.0"} ]
942 datetime ServletTimeMaxTime;
943
944 [Description (
945 "The minimum execution time of the servlet's service method "
946 tony 1.1 "since the beginning of this measurement. The time is "
947 "represented as a datetime interval."),
948 MappingStrings {"JSR77.JCP|JSR77.6.6.1.3 getMinTime|V1.0"} ]
949 datetime ServiceTimeMinTime;
950
951 [Description (
952 "The total execution time of the servlet's service method "
953 "since the beginning of this measurement. Dividing "
954 "ServletTimeTotalTime by ServletTime will provide the "
955 "average time spent executing the servlet's service method. "
956 "The time is represented as a datetime interval."),
957 MappingStrings {"JSR77.JCP|JSR77.6.6.1.4 getTotalTime|V1.0"} ]
958 datetime ServletTimeTotalTime;
959 };
960
961
962 // ====================================================================
963 // CIM_J2eeURLStats - JSR77.6.33
964 // ====================================================================
965 [Experimental, Abstract, Version ("2.7.1000"), Description (
966 "The CIM_J2eeURLStats class defines the performance statistics "
967 tony 1.1 "that are provided by a URL resource. There are no standard "
968 "required URL statistics defined by the JSR77 specification. "
969 "This class may be extended to provide vendor specific URL "
970 "performance statistics.") ]
971 class CIM_J2eeURLStats : CIM_J2eeStatistic {
972 };
973
974
975 // ==================================================================
976 // end of file
977 // ==================================================================
|