@Override
                public CasResult doInTable(Table table) throws Throwable {
                    CheckAndMutate checkAndMutate = CheckAndMax.initialMax(checkAndMax);
                    CheckAndMutateResult result = table.checkAndMutate(checkAndMutate);
                    if (result.isSuccess()) {
                        return CasResult.INITIAL_UPDATE;
                    }
                    CheckAndMutate cas = CheckAndMax.casMax(checkAndMutate);
                    CheckAndMutateResult maxResult = table.checkAndMutate(cas);
                    return CasResult.casResult(maxResult);
                }
@author emeroad
@author HyunGil Jeong
@author minwoo.jung
@author Taejin Koo
commons-hbase/src/main/java/com/navercorp/pinpoint/common/hbase/HbaseTemplate.java