public abstract class AllocateStrategyBase extends Object implements AllocateStrategy
| Constructor and Description |
|---|
AllocateStrategyBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
fitInPossible(StorageDir[] storageDirs,
long requestSizeBytes)
Check whether it is possible to get enough space by evicting some blocks
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStorageDirpublic boolean fitInPossible(StorageDir[] storageDirs, long requestSizeBytes)
AllocateStrategyfitInPossible in interface AllocateStrategystorageDirs - candidates of StorageDirs which space will be allocated inrequestSizeBytes - requested space in bytesCopyright © 2015. All Rights Reserved.