public static final class Transaction.ListenerSet extends Object
CreateListener
s, DeleteListener
s, VersionChangeListener
s,
SimpleFieldChangeListener
s, SetFieldChangeListener
s, ListFieldChangeListener
s, and
MapFieldChangeListener
s) that can be efficiently registered on a Transaction
all at once.
To create an instance of this class, use Transaction.snapshotListeners()
after registering the desired
set of listeners. Once created, the instance can be used repeatedly to configured the same set of listeners
on any other compatible Transaction
via Transaction.setListeners()
.
Here "compatible" means field change listener paths and types are valid for the new transaction's schemas.
Copyright © 2019. All rights reserved.