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


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

This annotation should be used on methods that need to be notified when a JGroups BLOCK event occurs.

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

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



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