class ThemisMasterObserver extends BaseMasterObserver {

  protected static HColumnDescriptor createLockFamily() {
    HColumnDescriptor desc = new HColumnDescriptor(ColumnUtil.LOCK_FAMILY_NAME);
    desc.setInMemory(true);
    desc.setMaxVersions(1);
    desc.setTimeToLive(HConstants.FOREVER);
    // TODO(cuijianwei) : choose the best bloom filter type
    // desc.setBloomFilterType(BloomType.ROWCOL);
    return desc;
  }

}

class TestThemisMasterObserver extends BaseMasterObserver {

  private HBaseAdmin admin;
  private byte[] testTable;
  private byte[] testFamily;

  @Test
  public void testCreateThemisLockFamily() throws Exception {

    HColumnDescriptor columnDesc = ThemisMasterObserver.createLockFamily();
    checkLockFamilyDesc(columnDesc);
  }

}