static class SnapshotInfo.SnapshotStats.FileInfo extends Object
Modifier and Type | Field and Description |
---|---|
private boolean |
corrupted |
private boolean |
inArchive |
private long |
size |
Constructor and Description |
---|
FileInfo(boolean inArchive,
long size,
boolean corrupted) |
Modifier and Type | Method and Description |
---|---|
long |
getSize()
Returns the file size
|
(package private) String |
getStateToString() |
boolean |
inArchive()
Returns true if the file is in the archive
|
boolean |
isCorrupted()
Returns true if the file is corrupted
|
boolean |
isMissing()
Returns true if the file is missing
|
private final boolean corrupted
private final boolean inArchive
private final long size
FileInfo(boolean inArchive, long size, boolean corrupted)
public boolean inArchive()
public boolean isCorrupted()
public boolean isMissing()
public long getSize()
String getStateToString()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.