use of com.palantir.atlasdb.api.TransactionToken in project atlasdb by palantir.
the class AtlasDbServiceImpl method commit.
@Override
public void commit(TransactionToken token) {
RawTransaction tx = transactions.getIfPresent(token);
if (tx != null) {
txManager.finishRunTaskWithLockThrowOnConflict(tx, (TxTask) transaction -> null);
transactions.invalidate(token);
}
}
Aggregations