@Retention(value=RUNTIME) @Target(value=METHOD) public @interface DataRehashed
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 rehashing takes place, i.e., your method will be called twice, with
Event.isPre()being set to true as well as false. Any exceptions thrown by the listener will abort the call. Any other listeners not yet called will not be called, and any transactions in progress will be rolled back.
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.