void function ( ) { if ( policy == Policy . DISABLE ) { throw new UnsupportedOperationException ( "srini_string" + HdfsClientConfigKeys . BlockWrite . ReplaceDatanodeOnFailure . ENABLE_KEY + "srini_string" ) ; } }
check if the feature is enabled . concode_field_sep Condition condition concode_elem_sep Condition FALSE concode_elem_sep boolean bestEffort concode_elem_sep Condition DEFAULT concode_elem_sep Condition TRUE concode_elem_sep Policy policy concode_field_sep Condition getCondition concode_elem_sep boolean satisfy concode_elem_sep boolean satisfy concode_elem_sep boolean satisfy concode_elem_sep boolean satisfy concode_elem_sep boolean satisfy concode_elem_sep boolean isBestEffort concode_elem_sep ReplaceDatanodeOnFailure get concode_elem_sep String toString concode_elem_sep Policy getPolicy concode_elem_sep void write