001    package railo.runtime.cache.eh.remote.rest.sax;
002    
003    public class CacheStatistics {
004    
005    
006            private double averageGetTime;
007            private int cacheHits;
008            private int diskStoreSize;
009            private int evictionCount;
010            private int inMemoryHits;
011            private int memoryStoreSize;
012            private int misses;
013            private int onDiskHits;
014            private int size;
015            private String statisticsAccuracy;
016            
017            /**
018             * @return the averageGetTime
019             */
020            public double getAverageGetTime() {
021                    return averageGetTime;
022            }
023            /**
024             * @param averageGetTime the averageGetTime to set
025             */
026            public void setAverageGetTime(double averageGetTime) {
027                    this.averageGetTime = averageGetTime;
028            }
029            /**
030             * @return the cacheHits
031             */
032            public int getCacheHits() {
033                    return cacheHits;
034            }
035            /**
036             * @param cacheHits the cacheHits to set
037             */
038            public void setCacheHits(int cacheHits) {
039                    this.cacheHits = cacheHits;
040            }
041            /**
042             * @return the diskStoreSize
043             */
044            public int getDiskStoreSize() {
045                    return diskStoreSize;
046            }
047            /**
048             * @param diskStoreSize the diskStoreSize to set
049             */
050            public void setDiskStoreSize(int diskStoreSize) {
051                    this.diskStoreSize = diskStoreSize;
052            }
053            /**
054             * @return the evictionCount
055             */
056            public int getEvictionCount() {
057                    return evictionCount;
058            }
059            /**
060             * @param evictionCount the evictionCount to set
061             */
062            public void setEvictionCount(int evictionCount) {
063                    this.evictionCount = evictionCount;
064            }
065            /**
066             * @return the inMemoryHits
067             */
068            public int getInMemoryHits() {
069                    return inMemoryHits;
070            }
071            /**
072             * @param inMemoryHits the inMemoryHits to set
073             */
074            public void setInMemoryHits(int inMemoryHits) {
075                    this.inMemoryHits = inMemoryHits;
076            }
077            /**
078             * @return the memoryStoreSize
079             */
080            public int getMemoryStoreSize() {
081                    return memoryStoreSize;
082            }
083            /**
084             * @param memoryStoreSize the memoryStoreSize to set
085             */
086            public void setMemoryStoreSize(int memoryStoreSize) {
087                    this.memoryStoreSize = memoryStoreSize;
088            }
089            /**
090             * @return the misses
091             */
092            public int getMisses() {
093                    return misses;
094            }
095            /**
096             * @param misses the misses to set
097             */
098            public void setMisses(int misses) {
099                    this.misses = misses;
100            }
101            /**
102             * @return the onDiskHits
103             */
104            public int getOnDiskHits() {
105                    return onDiskHits;
106            }
107            /**
108             * @param onDiskHits the onDiskHits to set
109             */
110            public void setOnDiskHits(int onDiskHits) {
111                    this.onDiskHits = onDiskHits;
112            }
113            /**
114             * @return the size
115             */
116            public int getSize() {
117                    return size;
118            }
119            /**
120             * @param size the size to set
121             */
122            public void setSize(int size) {
123                    this.size = size;
124            }
125            /**
126             * @return the statisticsAccuracy
127             */
128            public String getStatisticsAccuracy() {
129                    return statisticsAccuracy;
130            }
131            /**
132             * @param statisticsAccuracy the statisticsAccuracy to set
133             */
134            public void setStatisticsAccuracy(String statisticsAccuracy) {
135                    this.statisticsAccuracy = statisticsAccuracy;
136            }
137            
138    }