@Retention(value=RUNTIME) @Target(value=METHOD) public @interface PersistenceAvailabilityChanged
StoreUnavailableException is thrown on all read/write
operations that require the PersistenceManager until all stores become available again.
Methods that use this annotation should be public and take one parameter, CacheEntryActivatedEvent. Otherwise IncorrectListenerException is thrown when registering your cache listener.
Locking: notification is performed WITH locks on the given key.
If the listener throws any exceptions, the call aborts. No other listeners are called. Any transactions in progress
are rolled back.ListenerCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.