@InterfaceAudience.Public
 @InterfaceStability.Stable
public interface BlockStoragePolicySpi
| Modifier and Type | Method and Description | 
|---|---|
StorageType[] | 
getCreationFallbacks()
Get the fallback storage types for creating new block replicas. 
 | 
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. 
 | 
String getName()
StorageType[] getStorageTypes()
StorageType[] getCreationFallbacks()
StorageType[] getReplicationFallbacks()
boolean isCopyOnCreateFile()
Copyright © 2018 Apache Software Foundation. All rights reserved.