use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rpcbenchmark.rev150702.TestStatusOutputBuilder in project controller by opendaylight.
the class RpcbenchmarkProvider method testStatus.
@Override
public Future<RpcResult<TestStatusOutput>> testStatus() {
LOG.info("testStatus");
TestStatusOutput output = new TestStatusOutputBuilder().setGlobalServerCnt((long) globalServer.getNumRpcs()).setExecStatus(execStatus.get()).build();
return RpcResultBuilder.success(output).buildFuture();
}
Aggregations