2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
19 package org
.apache
.hadoop
.hbase
.regionserver
;
21 import java
.util
.Collections
;
22 import java
.util
.List
;
24 public class MetricsRegionServerWrapperStub
implements MetricsRegionServerWrapper
{
27 public String
getServerName() {
32 public String
getClusterId() {
37 public String
getZookeeperQuorum() {
42 public String
getCoprocessors() {
47 public long getStartCode() {
52 public long getNumOnlineRegions() {
57 public long getNumStores() {
62 public long getNumStoreFiles() {
67 public long getMemStoreSize() {
72 public long getStoreFileSize() {
77 public double getStoreFileSizeGrowthRate() {
82 public long getMaxStoreFileAge() {
87 public long getMinStoreFileAge() {
92 public long getAvgStoreFileAge() {
97 public long getNumReferenceFiles() {
102 public double getRequestsPerSecond() {
107 public long getTotalRequestCount() {
112 public double getReadRequestsRatePerSecond() {
117 public long getTotalRowActionRequestCount() {
118 return getReadRequestsCount() + getWriteRequestsCount();
122 public long getByteBuffAllocatorHeapAllocationBytes() {
127 public long getByteBuffAllocatorPoolAllocationBytes() {
132 public double getByteBuffAllocatorHeapAllocRatio() {
137 public long getByteBuffAllocatorTotalBufferCount() {
142 public long getByteBuffAllocatorUsedBufferCount() {
147 public long getReadRequestsCount() {
152 public long getCpRequestsCount() {
157 public long getFilteredReadRequestsCount() {
162 public long getWriteRequestsCount() {
167 public double getWriteRequestsRatePerSecond() {
172 public long getRpcGetRequestsCount() {
177 public long getRpcScanRequestsCount() {
182 public long getRpcMultiRequestsCount() {
187 public long getRpcMutateRequestsCount() {
192 public long getCheckAndMutateChecksFailed() {
197 public long getCheckAndMutateChecksPassed() {
202 public long getStoreFileIndexSize() {
207 public long getTotalStaticIndexSize() {
212 public long getTotalStaticBloomSize() {
217 public long getNumMutationsWithoutWAL() {
222 public long getDataInMemoryWithoutWAL() {
227 public double getPercentFileLocal() {
232 public double getPercentFileLocalSecondaryRegions() {
237 public int getCompactionQueueSize() {
242 public int getSmallCompactionQueueSize() {
247 public int getLargeCompactionQueueSize() {
252 public int getFlushQueueSize() {
257 public long getMemStoreLimit() {
262 public long getBlockCacheFreeSize() {
267 public long getBlockCacheCount() {
272 public long getBlockCacheSize() {
277 public long getBlockCacheHitCount() {
282 public long getBlockCachePrimaryHitCount() {
287 public long getBlockCacheMissCount() {
292 public long getBlockCachePrimaryMissCount() {
297 public long getBlockCacheEvictedCount() {
302 public long getBlockCachePrimaryEvictedCount() {
307 public double getBlockCacheHitPercent() {
312 public double getBlockCacheHitCachingPercent() {
317 public long getBlockCacheFailedInsertions() {
322 public long getL1CacheHitCount() {
327 public long getL1CacheMissCount() {
332 public double getL1CacheHitRatio() {
337 public double getL1CacheMissRatio() {
342 public long getL2CacheHitCount() {
347 public long getL2CacheMissCount() {
352 public double getL2CacheHitRatio() {
357 public double getL2CacheMissRatio() {
362 public long getUpdatesBlockedTime() {
367 public void forceRecompute() {
372 public long getNumWALFiles() {
377 public long getWALFileSize() {
382 public List
<String
> getWALExcludeDNs() {
383 return Collections
.emptyList();
387 public long getNumWALSlowAppend() {
392 public long getFlushedCellsCount() {
397 public long getCompactedCellsCount() {
402 public long getMajorCompactedCellsCount() {
407 public long getFlushedCellsSize() {
412 public long getCompactedCellsSize() {
417 public long getMajorCompactedCellsSize() {
422 public long getHedgedReadOps() {
427 public long getHedgedReadWins() {
432 public long getHedgedReadOpsInCurThread() {
437 public long getTotalBytesRead() {
442 public long getLocalBytesRead() {
447 public long getShortCircuitBytesRead() {
452 public long getZeroCopyBytesRead() {
457 public long getBlockedRequestsCount() {
462 public long getDataMissCount() {
467 public long getLeafIndexMissCount() {
472 public long getBloomChunkMissCount() {
477 public long getMetaMissCount() {
482 public long getRootIndexMissCount() {
487 public long getIntermediateIndexMissCount() {
492 public long getFileInfoMissCount() {
497 public long getGeneralBloomMetaMissCount() {
502 public long getDeleteFamilyBloomMissCount() {
507 public long getTrailerMissCount() {
512 public long getDataHitCount() {
517 public long getLeafIndexHitCount() {
522 public long getBloomChunkHitCount() {
527 public long getMetaHitCount() {
532 public long getRootIndexHitCount() {
537 public long getIntermediateIndexHitCount() {
542 public long getFileInfoHitCount() {
547 public long getGeneralBloomMetaHitCount() {
552 public long getDeleteFamilyBloomHitCount() {
557 public long getTrailerHitCount() {
562 public int getSplitQueueSize() {
567 public long getCellsCountCompactedToMob() {
572 public long getCellsCountCompactedFromMob() {
577 public long getCellsSizeCompactedToMob() {
582 public long getCellsSizeCompactedFromMob() {
587 public long getMobFlushCount() {
592 public long getMobFlushedCellsCount() {
597 public long getMobFlushedCellsSize() {
602 public long getMobScanCellsCount() {
607 public long getMobScanCellsSize() {
612 public long getMobFileCacheAccessCount() {
617 public long getMobFileCacheMissCount() {
622 public long getMobFileCacheEvictedCount() {
627 public long getMobFileCacheCount() {
632 public double getMobFileCacheHitPercent() {
637 public long getAverageRegionSize() {
642 public long getRpcFullScanRequestsCount() {