org.apache.hadoop.hbase.snapshot
Class SnapshotInfo.SnapshotStats
java.lang.Object
org.apache.hadoop.hbase.snapshot.SnapshotInfo.SnapshotStats
- Enclosing class:
- SnapshotInfo
public static class SnapshotInfo.SnapshotStats
- extends Object
Statistics about the snapshot
- How many store files and logs are in the archive
- How many store files and logs are shared with the table
- Total store files and logs size and shared amount
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSnapshotDescription
public HBaseProtos.SnapshotDescription getSnapshotDescription()
- Returns:
- the snapshot descriptor
isSnapshotCorrupted
public boolean isSnapshotCorrupted()
- Returns:
- true if the snapshot is corrupted
getStoreFilesCount
public int getStoreFilesCount()
- Returns:
- the number of available store files
getArchivedStoreFilesCount
public int getArchivedStoreFilesCount()
- Returns:
- the number of available store files in the archive
getLogsCount
public int getLogsCount()
- Returns:
- the number of available log files
getMissingStoreFilesCount
public int getMissingStoreFilesCount()
- Returns:
- the number of missing store files
getCorruptedStoreFilesCount
public int getCorruptedStoreFilesCount()
- Returns:
- the number of corrupted store files
getMissingLogsCount
public int getMissingLogsCount()
- Returns:
- the number of missing log files
getStoreFilesSize
public long getStoreFilesSize()
- Returns:
- the total size of the store files referenced by the snapshot
getSharedStoreFilesSize
public long getSharedStoreFilesSize()
- Returns:
- the total size of the store files shared
getArchivedStoreFileSize
public long getArchivedStoreFileSize()
- Returns:
- the total size of the store files in the archive
getSharedStoreFilePercentage
public float getSharedStoreFilePercentage()
- Returns:
- the percentage of the shared store files
getLogsSize
public long getLogsSize()
- Returns:
- the total log size
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.