public class EqualRevisionPredicate extends Object implements Predicate<DomainEventData<?>>
DomainEventDatainstances that have a revision 'equal' to the revision of the class is has serialized data for. The
RevisionResolveris used to resolve the revision of the Class represented by the
|Constructor and Description|
Initializes the Predicate with given
|Modifier and Type||Method and Description|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public EqualRevisionPredicate(RevisionResolver resolver, Serializer serializer)
resolverto resolve revision of the class represented by the serialized data.
resolver- Resolver of type
RevisionResolverto resolve the revision of aggregate corresponding to the snapshot
serializer- The serializer used to read the payload data, in order to resolve a class
Copyright © 2010–2021. All rights reserved.