Class ExponentialCompactionWindowFactory.Window
java.lang.Object
org.apache.hadoop.hbase.regionserver.compactions.CompactionWindow
org.apache.hadoop.hbase.regionserver.compactions.ExponentialCompactionWindowFactory.Window
- Enclosing class:
 - ExponentialCompactionWindowFactory
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final longA timestamp t is within the window iff t / size == divPosition.private final longWill not promote to next tier for window before it.private final longHow big a range of timestamps fit inside the window in milliseconds. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintcompareToTimestamp(long timestamp) Compares the window to a timestamp.longExclusive upper boundMove to the new window of the same tier or of the next tier, which represents an earlier time span.longInclusive lower boundMethods inherited from class org.apache.hadoop.hbase.regionserver.compactions.CompactionWindow
toString 
- 
Field Details
- 
maxTierAgeCutoff
Will not promote to next tier for window before it. - 
windowMillis
How big a range of timestamps fit inside the window in milliseconds. - 
divPosition
A timestamp t is within the window iff t / size == divPosition. 
 - 
 - 
Constructor Details
- 
Window
 
 - 
 - 
Method Details
- 
compareToTimestamp
Description copied from class:CompactionWindowCompares the window to a timestamp.- Specified by:
 compareToTimestampin classCompactionWindow- Parameters:
 timestamp- the timestamp to compare.- Returns:
 - a negative integer, zero, or a positive integer as the window lies before, covering, or after than the timestamp.
 
 - 
nextEarlierWindow
Description copied from class:CompactionWindowMove to the new window of the same tier or of the next tier, which represents an earlier time span.- Specified by:
 nextEarlierWindowin classCompactionWindow- Returns:
 - The next earlier window
 
 - 
startMillis
Description copied from class:CompactionWindowInclusive lower bound- Specified by:
 startMillisin classCompactionWindow
 - 
endMillis
Description copied from class:CompactionWindowExclusive upper bound- Specified by:
 endMillisin classCompactionWindow
 
 -