@Override public boolean truncateInvalidTxBefore(long time) throws InvalidTruncateTimeException { return txManager.truncateInvalidTxBefore(time); }
@Override public boolean truncateInvalidTxBefore(long time) throws InvalidTruncateTimeException { return txManager.truncateInvalidTxBefore(time); }
@Override public TBoolean truncateInvalidTxBefore(long time) throws TException { try { return new TBoolean(txManager.truncateInvalidTxBefore(time)); } catch (InvalidTruncateTimeException e) { throw new TInvalidTruncateTimeException(e.getMessage()); } }
@Override public TBoolean truncateInvalidTxBefore(long time) throws TException { try { return new TBoolean(txManager.truncateInvalidTxBefore(time)); } catch (InvalidTruncateTimeException e) { throw new TInvalidTruncateTimeException(e.getMessage()); } }
Assert.assertTrue(txm1.truncateInvalidTxBefore(timeBeforeTx3)); txm1.getCurrentState().getInProgress().keySet()); try { txm1.truncateInvalidTxBefore(timeBeforeTx5); Assert.fail("Expected InvalidTruncateTimeException exception"); } catch (InvalidTruncateTimeException e) {