IMDS: trim down commit overhead 46/18846/5
authorRobert Varga <rovarga@cisco.com>
Wed, 22 Apr 2015 14:17:57 +0000 (16:17 +0200)
committerRobert Varga <rovarga@cisco.com>
Thu, 23 Apr 2015 11:29:18 +0000 (13:29 +0200)
After refactoring things out it is quite obvious that we can skip adding
a listener to the commit cohort when committing a chained transaction.

Extract the inner class from InMemoryDOMDataStore so it can be reused
and subclass it in ChainedTransactionCommitImpl. That makes it also
obvious our commit cannot fail.

Change-Id: I71d9fa60cf63d826ba066c381d8db91af7f8f31e
Signed-off-by: Robert Varga <rovarga@cisco.com>

No differences found