@InterfaceAudience.LimitedPrivate(value="Coprocesssor") public interface CompactionRequest
Modifier and Type | Method and Description |
---|---|
Collection<? extends StoreFile> |
getFiles()
Returns unmodifiable collection of StoreFiles in compaction
|
int |
getPriority()
Returns priority of compaction request
|
long |
getSelectionTime()
Returns compaction request creation time in milliseconds
|
long |
getSize()
Returns total size of all StoreFiles in compaction
|
boolean |
isAllFiles()
Returns
true if major compaction or all files are compacted |
boolean |
isMajor()
Returns
true if major compaction |
boolean |
isOffPeak()
Returns
true if compaction is Off-peak |
Collection<? extends StoreFile> getFiles()
long getSize()
boolean isAllFiles()
true
if major compaction or all files are compactedboolean isMajor()
true
if major compactionint getPriority()
boolean isOffPeak()
true
if compaction is Off-peaklong getSelectionTime()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.