Java 类org.apache.curator.framework.api.transaction.TransactionCheckBuilder 实例源码

项目:dcos-commons    文件:CuratorPersisterTest.java   
@Override
public TransactionCheckBuilder check() {
    TestCheck operation = new TestCheck(this);
    operations.add(operation);
    return operation;
}
项目:vespa    文件:MockCurator.java   
@Override
public TransactionCheckBuilder check() {
    ensureNotCommitted();
    throw new UnsupportedOperationException("Not implemented in MockCurator");
}
项目:curator    文件:TransactionOpImpl.java   
@Override
public TransactionCheckBuilder<CuratorOp> check()
{
    ExtractingCuratorOp op = new ExtractingCuratorOp();
    return CuratorTransactionImpl.<CuratorOp>makeTransactionCheckBuilder(client, op, op.getRecord());
}