org.jboss.cache.notifications.annotation
Annotation Type BuddyGroupChanged


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface BuddyGroupChanged

This annotation should be used on methods that need to be notified when a buddy group changes.

Methods annotated with this annotation should be public and take in a single parameter, a BuddyGroupChangedEvent otherwise an IncorrectCacheListenerException will be thrown when registering your cache listener.

This call back only occurs when a buddy group structure is changed. In a cache setup where buddy replication is not enabled, this call back would never occur.

Since:
2.1.0
Author:
Manik Surtani
See Also:
CacheListener, CacheBlockedEvent



Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.