Search in sources :

Example 1 with ProduceTransactionsOutputBuilder

use of org.opendaylight.yang.gen.v1.tag.opendaylight.org._2017.controller.yang.lowlevel.control.rev170215.ProduceTransactionsOutputBuilder in project controller by opendaylight.

the class ProduceTransactionsHandler method runSuccessful.

@Override
void runSuccessful(final long allTx) {
    closeProducer(itemProducer);
    final ProduceTransactionsOutput output = new ProduceTransactionsOutputBuilder().setAllTx(allTx).setInsertTx(insertTx).setDeleteTx(deleteTx).build();
    future.set(RpcResultBuilder.<ProduceTransactionsOutput>success().withResult(output).build());
}
Also used : ProduceTransactionsOutputBuilder(org.opendaylight.yang.gen.v1.tag.opendaylight.org._2017.controller.yang.lowlevel.control.rev170215.ProduceTransactionsOutputBuilder) ProduceTransactionsOutput(org.opendaylight.yang.gen.v1.tag.opendaylight.org._2017.controller.yang.lowlevel.control.rev170215.ProduceTransactionsOutput)

Aggregations

ProduceTransactionsOutput (org.opendaylight.yang.gen.v1.tag.opendaylight.org._2017.controller.yang.lowlevel.control.rev170215.ProduceTransactionsOutput)1 ProduceTransactionsOutputBuilder (org.opendaylight.yang.gen.v1.tag.opendaylight.org._2017.controller.yang.lowlevel.control.rev170215.ProduceTransactionsOutputBuilder)1