public abstract class BlockMetadataView extends Object
Constructor and Description |
---|
BlockMetadataView(BlockMetadataManager manager)
Creates a new instance of
BlockMetadataView . |
Modifier and Type | Method and Description |
---|---|
StorageTierView |
getNextTier(StorageTierView tierView)
Gets the next storage tier view.
|
StorageTierView |
getTierView(String tierAlias)
Provides
StorageTierView given tierAlias. |
List<StorageTierView> |
getTierViews()
Gets all tierViews under this storage metadata view.
|
List<StorageTierView> |
getTierViewsBelow(String tierAlias)
Gets all tierViews before certain tierView.
|
public BlockMetadataView(BlockMetadataManager manager)
BlockMetadataView
.manager
- which the view should be constructed frompublic StorageTierView getTierView(String tierAlias)
StorageTierView
given tierAlias. Throws an IllegalArgumentException
if
the tierAlias is not found.tierAlias
- the alias of this tierViewStorageTierView
object associated with the aliaspublic List<StorageTierView> getTierViews()
StorageTierView
s@Nullable public StorageTierView getNextTier(StorageTierView tierView)
tierView
- the storage tier viewpublic List<StorageTierView> getTierViewsBelow(String tierAlias)
IllegalArgumentException
if the
tierAlias is not found.tierAlias
- the alias of a tierViewStorageTierView
Copyright © 2023. All Rights Reserved.