public class StorageDirAllocatorView extends StorageDirView
StorageDir
to provide more limited access for allocators.Constructor and Description |
---|
StorageDirAllocatorView(StorageDir dir,
StorageTierView tierView)
Creates a
StorageDirAllocatorView using the actual StorageDir . |
Modifier and Type | Method and Description |
---|---|
long |
getAvailableBytes()
Gets available bytes for this dir.
|
createTempBlockMeta, getCapacityBytes, getCommittedBytes, getDirViewIndex, getMediumType, getParentTierView, getReservedBytes, toBlockStoreLocation
public StorageDirAllocatorView(StorageDir dir, StorageTierView tierView)
StorageDirAllocatorView
using the actual StorageDir
.dir
- which the dirView is constructed fromtierView
- which the dirView is underpublic long getAvailableBytes()
StorageDirView
getAvailableBytes
in class StorageDirView
Copyright © 2023. All Rights Reserved.