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

项目:dcos-commons    文件:CuratorPersisterTest.java   
@Override
public TransactionSetDataBuilder setData() {
    TestSetData operation = new TestSetData(this);
    operations.add(operation);
    return operation;
}
项目:vespa    文件:MockCurator.java   
@Override
public TransactionSetDataBuilder setData() {
    ensureNotCommitted();
    return new MockTransactionSetDataBuilder();
}
项目:curator    文件:TransactionOpImpl.java   
@Override
public TransactionSetDataBuilder<CuratorOp> setData()
{
    ExtractingCuratorOp op = new ExtractingCuratorOp();
    return new SetDataBuilderImpl(client).<CuratorOp>asTransactionSetDataBuilder(op, op.getRecord());
}