@InterfaceAudience.Private public abstract class FlushPolicy extends org.apache.hadoop.conf.Configured
Modifier and Type | Field and Description |
---|---|
protected HRegion |
region
The region configured for this flush policy.
|
Constructor and Description |
---|
FlushPolicy() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureForRegion(HRegion region)
Upon construction, this method will be called with the region to be governed.
|
abstract Collection<HStore> |
selectStoresToFlush()
Returns the stores need to be flushed.
|
public FlushPolicy()
protected void configureForRegion(HRegion region)
public abstract Collection<HStore> selectStoresToFlush()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.