summaryrefslogtreecommitdiffstats
path: root/veslibrary/ves_cpplibrary/src/lib/encode/XDiskUsageImp.h
blob: 5ae7403eea04845d11dd276a7bd4e7d9729cbb5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#pragma once
        
#include "XDiskUsage.h"
#include "XInternal.h"

namespace vagt
{
    namespace encode
    {
        class XDiskUsageImp : public XDiskUsage, public XJsonable
        {
        public:
            XDiskUsageImp(const XString& diskIdentifier);

            virtual json toJson() override;

            virtual void setDiskOctetsWriteLast(XNumber diskOctetsWriteLast) override;
            virtual void setDiskIoTimeAvg(XNumber diskIoTimeAvg) override;
            virtual void setDiskMergedReadMin(XNumber diskMergedReadMin) override;
            virtual void setDiskTotalReadLatencyAvg(XNumber diskTotalReadLatencyAvg) override;
            virtual void setDiskOpsReadMax(XNumber diskOpsReadMax) override;
            virtual void setDiskOpsReadMin(XNumber diskOpsReadMin) override;
            virtual void setDiskBusResets(XNumber diskBusResets) override;
            virtual void setDiskMergedReadLast(XNumber diskMergedReadLast) override;
            virtual void setDiskTimeReadAvg(XNumber diskTimeReadAvg) override;
            virtual void setDiskMergedWriteMax(XNumber diskMergedWriteMax) override;
            virtual void setDiskTime(XNumber diskTime) override;
            virtual void setDiskOpsWriteLast(XNumber diskOpsWriteLast) override;
            virtual void setDiskOpsReadAvg(XNumber diskOpsReadAvg) override;
            virtual void setDiskFlushRequests(XNumber diskFlushRequests) override;
            virtual void setDiskFlushTime(XNumber diskFlushTime) override;
            virtual void setDiskOpsReadLast(XNumber diskOpsReadLast) override;
            virtual void setDiskMergedReadAvg(XNumber diskMergedReadAvg) override;
            virtual void setDiskWriteCommandsAvg(XNumber diskWriteCommandsAvg) override;
            virtual void setDiskTimeReadMin(XNumber diskTimeReadMin) override;
            virtual void setDiskOpsWriteAvg(XNumber diskOpsWriteAvg) override;
            virtual void setDiskWeightedIoTimeMin(XNumber diskWeightedIoTimeMin) override;
            virtual void setDiskIoTimeLast(XNumber diskIoTimeLast) override;
            virtual void setDiskMergedReadMax(XNumber diskMergedReadMax) override;
            virtual void setDiskOctetsReadMin(XNumber diskOctetsReadMin) override;
            virtual void setDiskWeightedIoTimeAvg(XNumber diskWeightedIoTimeAvg) override;
            virtual void setDiskTimeWriteMin(XNumber diskTimeWriteMin) override;
            virtual void setDiskCommandsAvg(XNumber diskCommandsAvg) override;
            virtual void setDiskTimeWriteMax(XNumber diskTimeWriteMax) override;
            virtual void setDiskPendingOperationsMin(XNumber diskPendingOperationsMin) override;
            virtual void setDiskTimeReadMax(XNumber diskTimeReadMax) override;
            virtual void setDiskOctetsReadMax(XNumber diskOctetsReadMax) override;
            virtual void setDiskOpsWriteMin(XNumber diskOpsWriteMin) override;
            virtual void setDiskReadCommandsAvg(XNumber diskReadCommandsAvg) override;
            virtual void setDiskMergedWriteMin(XNumber diskMergedWriteMin) override;
            virtual void setDiskOctetsWriteMax(XNumber diskOctetsWriteMax) override;
            virtual void setDiskTimeWriteLast(XNumber diskTimeWriteLast) override;
            virtual void setDiskPendingOperationsLast(XNumber diskPendingOperationsLast) override;
            virtual void setDiskWeightedIoTimeLast(XNumber diskWeightedIoTimeLast) override;
            virtual void setDiskIdentifier(const XString& diskIdentifier) override;
            virtual void setDiskOctetsWriteMin(XNumber diskOctetsWriteMin) override;
            virtual void setDiskTimeWriteAvg(XNumber diskTimeWriteAvg) override;
            virtual void setDiskOctetsWriteAvg(XNumber diskOctetsWriteAvg) override;
            virtual void setDiskOctetsReadLast(XNumber diskOctetsReadLast) override;
            virtual void setDiskWeightedIoTimeMax(XNumber diskWeightedIoTimeMax) override;
            virtual void setDiskCommandsAborted(XNumber diskCommandsAborted) override;
            virtual void setDiskOpsWriteMax(XNumber diskOpsWriteMax) override;
            virtual void setDiskTimeReadLast(XNumber diskTimeReadLast) override;
            virtual void setDiskMergedWriteAvg(XNumber diskMergedWriteAvg) override;
            virtual void setDiskOctetsReadAvg(XNumber diskOctetsReadAvg) override;
            virtual void setDiskTotalWriteLatencyAvg(XNumber diskTotalWriteLatencyAvg) override;
            virtual void setDiskIoTimeMax(XNumber diskIoTimeMax) override;
            virtual void setDiskIoTimeMin(XNumber diskIoTimeMin) override;
            virtual void setDiskPendingOperationsAvg(XNumber diskPendingOperationsAvg) override;
            virtual void setDiskMergedWriteLast(XNumber diskMergedWriteLast) override;
            virtual void setDiskPendingOperationsMax(XNumber diskPendingOperationsMax) override;

        private:
            //required
            XString diskIdentifier_;
            //optional
            std::map<std::string, XCommonValue> comVals_;
        };
    }
}