1 karl 1.1.2.2 // Copyright (c) 2005 DMTF. All rights reserved.
2 // <change cr="ArchCR00066.004" type="add">Add UmlPackagePath
3 // qualifier values to CIM Schema.</change>
4 // ==================================================================
5 // CIM_PickerStatInfo
6 // ==================================================================
7 [Version ( "2.6.0" ),
8 UMLPackagePath ( "CIM::Device::StorageLib" ),
9 Description (
10 "Statistics for a PickerElement, related to pick/put successes, "
11 "retries and failures." )]
12 class CIM_PickerStatInfo : CIM_DeviceStatisticalInformation {
13
14 [Description ( "The number of successful picks." ),
15 Counter]
16 uint64 PickSuccesses;
17
18 [Description ( "The number of failed picks." ),
19 Counter]
20 uint64 PickFailures;
21
22 karl 1.1.2.2 [Description ( "The number of retried picks." ),
23 Counter]
24 uint64 PickRetries;
25
26 [Description ( "The number of successful puts." ),
27 Counter]
28 uint64 PutSuccesses;
29
30 [Description ( "The number of failed puts." ),
31 Counter]
32 uint64 PutFailures;
33
34 [Description ( "The number of retried puts." ),
35 Counter]
36 uint64 PutRetries;
37
38
39 [Description (
40 "Method to reset the statistical counters. The method "
41 "takes one parameter as input - an integer indicating "
42 "which counter to reset. For this input parameter, 0 "
43 karl 1.1.2.2 "indicates all, 1-3 reset the \'pick\'-related counters, "
44 "and 4-6 reset the \'put\'- related counters. The method "
45 "returns 0 if successful, 1 if not supported, and any "
46 "other value if an error occurred. A method is specified "
47 "so that the Device\'s instrumentation can also reset its "
48 "internal pocessing and counters. \n"
49 "In a subclass, the set of possible return codes should "
50 "be specified in a ValueMap qualifier on the method. The "
51 "strings to which the ValueMap contents are \'translated\' "
52 "can be specified as a Values array qualifier." )]
53 uint32 ResetCounter(
54 [IN, Description (
55 "This parameter indicates the counter to reset." ),
56 ValueMap { "0", "1", "2", "3", "4", "5", "6" },
57 Values { "All", "Pick Successes", "Pick Failures",
58 "Pick Retries", "Put Successes", "Put Failures",
59 "Put Retries" }]
60 uint16 SelectedCounter);
61
62 };
|