private Durability getEffectiveDurability(Durability d) {
    return d == Durability.USE_DEFAULT ? this.regionDurability : d;
  }
Returns effective durability from the passed durability and the table descriptor.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java