public static class SnapshotInfo.SnapshotStats extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
getArchivedStoreFilesCount()
Returns the number of available store files in the archive
|
long |
getArchivedStoreFileSize()
Returns the total size of the store files in the archive
|
int |
getCorruptedStoreFilesCount()
Returns the number of corrupted store files
|
int |
getLogsCount()
Returns the number of available log files
|
long |
getLogsSize()
Returns the total log size
|
int |
getMissingLogsCount()
Returns the number of missing log files
|
int |
getMissingStoreFilesCount()
Returns the number of missing store files
|
float |
getMobStoreFilePercentage()
Returns the percentage of the mob store files
|
int |
getMobStoreFilesCount()
Returns the number of available store files in the mob dir
|
long |
getMobStoreFilesSize()
Returns the total size of the store files in the mob store
|
long |
getNonSharedArchivedStoreFilesSize() |
float |
getSharedStoreFilePercentage()
Returns the percentage of the shared store files
|
long |
getSharedStoreFilesSize()
Returns the total size of the store files shared
|
SnapshotDescription |
getSnapshotDescription()
Returns the snapshot descriptor
|
int |
getStoreFilesCount()
Returns the number of available store files
|
long |
getStoreFilesSize()
Returns the total size of the store files referenced by the snapshot
|
boolean |
isSnapshotCorrupted()
Returns true if the snapshot is corrupted
|
public SnapshotDescription getSnapshotDescription()
public boolean isSnapshotCorrupted()
public int getStoreFilesCount()
public int getArchivedStoreFilesCount()
public int getMobStoreFilesCount()
public int getLogsCount()
public int getMissingStoreFilesCount()
public int getCorruptedStoreFilesCount()
public int getMissingLogsCount()
public long getStoreFilesSize()
public long getSharedStoreFilesSize()
public long getArchivedStoreFileSize()
public long getMobStoreFilesSize()
public long getNonSharedArchivedStoreFilesSize()
SnapshotInfo.getSnapshotStats(Configuration, SnapshotProtos.SnapshotDescription, Map) is
called with a non-null Mappublic float getSharedStoreFilePercentage()
public float getMobStoreFilePercentage()
public long getLogsSize()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.