@Retention(value=RUNTIME) @Target(value=METHOD) public @interface TopologyChanged
ConsistentHashimplementation in use by the
DistributionManagerchanges due to a change in cluster topology. This is only fired in a
Configuration.CacheMode#DIST_ASYNCconfigured cache. Methods annotated with this annotation should accept a single parameter, a
IncorrectListenerExceptionwill be thrown when registering your listener. Note that methods marked with this annotation will be fired before and after the updated
ConsistentHashis installed, i.e., your method will be called twice, with
Event.isPre()being set to true as well as false.
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.