public interface DataRehashedEvent<K,V> extends Event<K,V>
DataRehashed
.
Note that the getConsistentHashAtStart()
and getConsistentHashAtEnd()
may return different value in the "pre" event notification and in the "post" event notification.
For instance, the end CH in the "pre" notification may be a union of the start and
end CHs in the "post" notification.
The result of the getNewTopologyId()
method is not guaranteed to be the same for the "pre"
and the "post" notification, either. However, the "post" value is guaranteed to be greater than or equal to
the "pre" value.
Event.Type
Modifier and Type | Method and Description |
---|---|
ConsistentHash |
getConsistentHashAtEnd() |
ConsistentHash |
getConsistentHashAtStart() |
Collection<Address> |
getMembersAtEnd() |
Collection<Address> |
getMembersAtStart() |
int |
getNewTopologyId() |
Collection<Address> getMembersAtStart()
Collection<Address> getMembersAtEnd()
ConsistentHash getConsistentHashAtStart()
ConsistentHash getConsistentHashAtEnd()
int getNewTopologyId()
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.