/** * @param idx Index. * @return Conflict expire time. */ public long conflictExpireTime(int idx) { if (conflictExpireTimes != null) { assert idx >= 0 && idx < conflictExpireTimes.size(); return conflictExpireTimes.get(idx); } return CU.EXPIRE_TIME_CALCULATE; }
/** * @param idx Index. * @return Conflict TTL. */ public long conflictTtl(int idx) { if (conflictTtls != null) { assert idx >= 0 && idx < conflictTtls.size(); return conflictTtls.get(idx); } return CU.TTL_NOT_CHANGED; }