public interface FsVolumeSpi
| Modifier and Type | Method and Description |
|---|---|
long |
getAvailable() |
String |
getBasePath() |
String[] |
getBlockPoolList() |
File |
getFinalizedDir(String bpid) |
String |
getPath(String bpid) |
String |
getStorageID() |
StorageType |
getStorageType() |
boolean |
isTransientStorage()
Returns true if the volume is NOT backed by persistent storage.
|
void |
releaseReservedSpace(long bytesToRelease)
Release disk space previously reserved for RBW block.
|
void |
reserveSpaceForRbw(long bytesToReserve)
Reserve disk space for an RBW block so a writer does not run out of
space before the block is full.
|
String getStorageID()
String[] getBlockPoolList()
long getAvailable() throws IOException
IOExceptionString getBasePath()
String getPath(String bpid) throws IOException
IOExceptionFile getFinalizedDir(String bpid) throws IOException
IOExceptionStorageType getStorageType()
void reserveSpaceForRbw(long bytesToReserve)
void releaseReservedSpace(long bytesToRelease)
boolean isTransientStorage()
Copyright © 2016 Apache Software Foundation. All Rights Reserved.