Ejemplo n.º 1
0
 @Override
 public void deleteFlowRule(FlowRule rule) {
   storeBatch(
       new FlowRuleBatchOperation(
           Collections.singletonList(new FlowRuleBatchEntry(FlowRuleOperation.REMOVE, rule)),
           rule.deviceId(),
           idGenerator.getNewId()));
 }
Ejemplo n.º 2
0
 @Override
 public TransactionContextBuilder transactionContextBuilder() {
   return new DefaultTransactionContextBuilder(this, transactionIdGenerator.getNewId());
 }