org.apache.hadoop.hbase.regionserver
Interface MetricsRegionServerWrapper


public interface MetricsRegionServerWrapper

This is the interface that will expose RegionServer information to hadoop1/hadoop2 implementations of the MetricsRegionServerSource.


Method Summary
 void forceRecompute()
          Force a re-computation of the metrics.
 long getBlockCacheCount()
          Get the number of items in the block cache.
 long getBlockCacheEvictedCount()
          Get the number of items evicted from the block cache.
 long getBlockCacheFreeSize()
          Get the size of the block cache that is free.
 int getBlockCacheHitCachingPercent()
          Get the percent of requests with the block cache turned on that hit the block cache.
 long getBlockCacheHitCount()
          Get the count of hits to the block cache
 int getBlockCacheHitPercent()
          Get the percent of all requests that hit the block cache.
 long getBlockCacheMissCount()
          Get the count of misses to the block cache.
 long getBlockCacheSize()
          Get the total size of the block cache.
 long getCheckAndMutateChecksFailed()
          Get the number of CAS operations that failed.
 long getCheckAndMutateChecksPassed()
          Get the number of CAS operations that passed.
 String getClusterId()
          Get the Cluster ID
 int getCompactionQueueSize()
          Get the size of the compaction queue
 String getCoprocessors()
          Get the co-processors
 long getDataInMemoryWithoutWAL()
          Ammount of data in the memstore but not in the WAL because mutations explicitly had their WAL turned off.
 int getFlushQueueSize()
          Get the size of the flush queue.
 long getMemstoreSize()
          Get the size of the memstore on this region server.
 long getNumMutationsWithoutWAL()
          Number of mutations received with WAL explicitly turned off.
 long getNumOnlineRegions()
          The number of online regions
 long getNumStoreFiles()
          Get the number of store files hosted on this region server.
 long getNumStores()
          Get the number of stores hosted on this region server.
 int getPercentFileLocal()
          Get the percent of HFiles' that are local.
 long getReadRequestsCount()
          Get the number of read requests to regions hosted on this region server.
 double getRequestsPerSecond()
          Get the number of requests per second.
 String getServerName()
          Get ServerName
 long getStartCode()
          Get HRegionServer start time
 long getStoreFileIndexSize()
          Get the Size of indexes in storefiles on disk.
 long getStoreFileSize()
          Get the total size of the store files this region server is serving from.
 long getTotalRequestCount()
          Get the total number of requests per second.
 long getTotalStaticBloomSize()
          Get the size of the static bloom filters.
 long getTotalStaticIndexSize()
          Get the size of of the static indexes including the roots.
 long getUpdatesBlockedTime()
          Get the amount of time that updates were blocked.
 long getWriteRequestsCount()
          Get the number of write requests to regions hosted on this region server.
 String getZookeeperQuorum()
          Get the Zookeeper Quorum Info
 

Method Detail

getServerName

String getServerName()
Get ServerName


getClusterId

String getClusterId()
Get the Cluster ID

Returns:
Cluster ID

getZookeeperQuorum

String getZookeeperQuorum()
Get the Zookeeper Quorum Info

Returns:
Zookeeper Quorum Info

getCoprocessors

String getCoprocessors()
Get the co-processors

Returns:
Co-processors

getStartCode

long getStartCode()
Get HRegionServer start time

Returns:
Start time of RegionServer in milliseconds

getNumOnlineRegions

long getNumOnlineRegions()
The number of online regions


getNumStores

long getNumStores()
Get the number of stores hosted on this region server.


getNumStoreFiles

long getNumStoreFiles()
Get the number of store files hosted on this region server.


getMemstoreSize

long getMemstoreSize()
Get the size of the memstore on this region server.


getStoreFileSize

long getStoreFileSize()
Get the total size of the store files this region server is serving from.


getRequestsPerSecond

double getRequestsPerSecond()
Get the number of requests per second.


getTotalRequestCount

long getTotalRequestCount()
Get the total number of requests per second.


getReadRequestsCount

long getReadRequestsCount()
Get the number of read requests to regions hosted on this region server.


getWriteRequestsCount

long getWriteRequestsCount()
Get the number of write requests to regions hosted on this region server.


getCheckAndMutateChecksFailed

long getCheckAndMutateChecksFailed()
Get the number of CAS operations that failed.


getCheckAndMutateChecksPassed

long getCheckAndMutateChecksPassed()
Get the number of CAS operations that passed.


getStoreFileIndexSize

long getStoreFileIndexSize()
Get the Size of indexes in storefiles on disk.


getTotalStaticIndexSize

long getTotalStaticIndexSize()
Get the size of of the static indexes including the roots.


getTotalStaticBloomSize

long getTotalStaticBloomSize()
Get the size of the static bloom filters.


getNumMutationsWithoutWAL

long getNumMutationsWithoutWAL()
Number of mutations received with WAL explicitly turned off.


getDataInMemoryWithoutWAL

long getDataInMemoryWithoutWAL()
Ammount of data in the memstore but not in the WAL because mutations explicitly had their WAL turned off.


getPercentFileLocal

int getPercentFileLocal()
Get the percent of HFiles' that are local.


getCompactionQueueSize

int getCompactionQueueSize()
Get the size of the compaction queue


getFlushQueueSize

int getFlushQueueSize()
Get the size of the flush queue.


getBlockCacheFreeSize

long getBlockCacheFreeSize()
Get the size of the block cache that is free.


getBlockCacheCount

long getBlockCacheCount()
Get the number of items in the block cache.


getBlockCacheSize

long getBlockCacheSize()
Get the total size of the block cache.


getBlockCacheHitCount

long getBlockCacheHitCount()
Get the count of hits to the block cache


getBlockCacheMissCount

long getBlockCacheMissCount()
Get the count of misses to the block cache.


getBlockCacheEvictedCount

long getBlockCacheEvictedCount()
Get the number of items evicted from the block cache.


getBlockCacheHitPercent

int getBlockCacheHitPercent()
Get the percent of all requests that hit the block cache.


getBlockCacheHitCachingPercent

int getBlockCacheHitCachingPercent()
Get the percent of requests with the block cache turned on that hit the block cache.


forceRecompute

void forceRecompute()
Force a re-computation of the metrics.


getUpdatesBlockedTime

long getUpdatesBlockedTime()
Get the amount of time that updates were blocked.



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.