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