@Test public void commit() throws Exception { assertNull(inmemoryDOMDataTreeShardWriteTransaction.commit().get()); }
@Override public ListenableFuture<Void> commit() { LOG.debug("Commit open transaction on shard {}", modification.getPrefix()); return executor.submit(new ShardCommitCoordinationTask(modification.getPrefix(), cohorts, this)); }
InmemoryDOMDataTreeShardWriteTransaction implements DOMDataTreeShardWriteTransaction, Identifiable<String> { @Override public ListenableFuture<Void> commit() { LOG.debug("Commit open transaction on shard {}", modification.getPrefix()); return executor.submit(new ShardCommitCoordinationTask(modification.getPrefix(), cohorts, this)); } }
InmemoryDOMDataTreeShardWriteTransaction implements DOMDataTreeShardWriteTransaction, Identifiable<String> { @Override public ListenableFuture<Void> commit() { LOG.debug("Commit open transaction on shard {}", modification.getPrefix()); return executor.submit(new ShardCommitCoordinationTask(modification.getPrefix(), cohorts, this)); } InmemoryDOMDataTreeShardWriteTransaction(final InMemoryDOMDataTreeShardProducer producer,
                                             final ShardDataModification root,
                                             final DataTree rootShardDataTree,
                                             final InMemoryDOMDataTreeShardChangePublisher changePublisher,
                                             final ListeningExecutorService executor); }
InmemoryDOMDataTreeShardWriteTransaction implements DOMDataTreeShardWriteTransaction, Identifiable<String> { @Override public ListenableFuture<Void> commit() { LOG.debug("Commit open transaction on shard {}", modification.getPrefix()); return executor.submit(new ShardCommitCoordinationTask(modification.getPrefix(), cohorts, this)); } InmemoryDOMDataTreeShardWriteTransaction(final InMemoryDOMDataTreeShardProducer producer,
                                             final ShardDataModification root,
                                             final DataTree rootShardDataTree,
                                             final InMemoryDOMDataTreeShardChangePublisher changePublisher,
                                             final ListeningExecutorService executor); @Override String getIdentifier(); @Override void close(); boolean isFinished(); @Override void ready(); @Override ListenableFuture<Void> submit(); @Override ListenableFuture<Boolean> validate(); @Override ListenableFuture<Void> prepare(); @Override ListenableFuture<Void> commit(); @Override DOMDataTreeWriteCursor createCursor(final DOMDataTreeIdentifier prefix); }
InmemoryDOMDataTreeShardWriteTransaction implements DOMDataTreeShardWriteTransaction, Identifiable<String> { @Override public ListenableFuture<Void> commit() { LOG.debug("Commit open transaction on shard {}", modification.getPrefix()); return executor.submit(new ShardCommitCoordinationTask(modification.getPrefix(), cohorts, this)); } InmemoryDOMDataTreeShardWriteTransaction(final InMemoryDOMDataTreeShardProducer producer,
                                             final ShardDataModification root,
                                             final DataTree rootShardDataTree,
                                             final InMemoryDOMDataTreeShardChangePublisher changePublisher,
                                             final ListeningExecutorService executor); @Override String getIdentifier(); @Override void close(); boolean isFinished(); @Override void ready(); @Override ListenableFuture<Void> submit(); @Override ListenableFuture<Boolean> validate(); @Override ListenableFuture<Void> prepare(); @Override ListenableFuture<Void> commit(); @Override DOMDataTreeWriteCursor createCursor(final DOMDataTreeIdentifier prefix);  }