@Public
@Stable
public interface BlockStoragePolicySpi
| Modifier and Type | Method | Description |
|---|---|---|
StorageType[] |
getCreationFallbacks() |
Get the fallback storage types for creating new block replicas.
|
java.lang.String |
getName() |
Return the name of the storage policy.
|
StorageType[] |
getReplicationFallbacks() |
Get the fallback storage types for replicating existing block replicas.
|
StorageType[] |
getStorageTypes() |
Return the preferred storage types associated with this policy.
|
boolean |
isCopyOnCreateFile() |
Returns true if the policy is inherit-only and cannot be changed for
an existing file.
|
java.lang.String getName()
StorageType[] getStorageTypes()
StorageType[] getCreationFallbacks()
StorageType[] getReplicationFallbacks()
boolean isCopyOnCreateFile()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.