APISonar


org.apache.accumulo.core.tabletserver.thrift.TDurability.LOG

> org > apache > accumulo > core > tabletserver > thrift > TDurability > LOG
org APIs apache APIs accumulo APIs core APIs tabletserver APIs thrift APIs TDurability APIs LOG APIs

Example 1
public static TDurability toThrift(Durability durability) {
    switch (durability) {
      case DEFAULT:
        return TDurability.DEFAULT;
      case SYNC:
        return TDurability.SYNC;
      case FLUSH:
        return TDurability.FLUSH;
      case LOG:
        return TDurability.LOG;
      default:
        return TDurability.NONE;
    }
  }