@InterfaceAudience.Private public interface FileArchiverNotifier
addArchivedFiles(Set) and
 computeAndStoreSnapshotSizes(Collection) are mutually exclusive. If a "full" computation
 is in progress, new changes being archived should be held.| Modifier and Type | Method and Description | 
|---|---|
| void | addArchivedFiles(Set<Map.Entry<String,Long>> fileSizes)Records a file and its size in bytes being moved to the archive directory. | 
| long | computeAndStoreSnapshotSizes(Collection<String> currentSnapshots)Computes the size of a table and all of its snapshots, recording new "full" sizes for each. | 
void addArchivedFiles(Set<Map.Entry<String,Long>> fileSizes) throws IOException
fileSizes - A collection of file name to size in bytesIOException - If there was an IO-related error persisting the file size(s)long computeAndStoreSnapshotSizes(Collection<String> currentSnapshots) throws IOException
currentSnapshots - the current list of snapshots against this tableIOException - If there was an IO-related error computing or persisting the sizes.Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.