public abstract class DiskAwareRunnable extends WrappedRunnable
Constructor and Description |
---|
DiskAwareRunnable() |
Modifier and Type | Method and Description |
---|---|
protected abstract Directories |
getDirectories()
Get sstable directories for the CF.
|
protected abstract Directories.DataDirectory |
getDirectory() |
protected Directories.DataDirectory |
getWriteDirectory(long writeSize) |
boolean |
reduceScopeForLimitedSpace()
Called if no disk is available with free space for the full write size.
|
run, runMayThrow
protected Directories.DataDirectory getWriteDirectory(long writeSize)
protected abstract Directories getDirectories()
protected abstract Directories.DataDirectory getDirectory()
public boolean reduceScopeForLimitedSpace()
Copyright © 2016 The Apache Software Foundation