Package | Description |
---|---|
org.infinispan.notifications |
Notifications and eventing for listeners on both the Cache and CacheManager interfaces.
|
org.infinispan.notifications.cachelistener.filter |
Cache -specific notifications and eventing filtering classes. |
Modifier and Type | Method and Description |
---|---|
<C> void |
FilteringListenable.addListener(Object listener,
CacheEventFilter<? super K,? super V> filter,
CacheEventConverter<? super K,? super V,C> converter)
Registers a listener that will be notified on events that pass the filter condition.
|
<C> void |
ClassLoaderAwareFilteringListenable.addListener(Object listener,
CacheEventFilter<? super K,? super V> filter,
CacheEventConverter<? super K,? super V,C> converter,
ClassLoader classLoader)
Adds a listener with the provided filter and converter and using a given classloader when invoked.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CacheEventFilterConverter<K,V,C>
This interface is an optimization that can be used when an event filter and converter are most efficiently used as
the same object composing the filtering and conversion in the same method invocation.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCacheEventFilterConverter<K,V,C>
This is a base class that should be used when implementing a CacheEventFilterConverter that provides default
implementations for the
CacheEventFilter.accept(Object, Object, org.infinispan.metadata.Metadata, Object, org.infinispan.metadata.Metadata, EventType)
and Converter.convert(Object, Object, org.infinispan.metadata.Metadata) methods so they just call the
CacheEventFilterConverter.filterAndConvert(Object, Object, org.infinispan.metadata.Metadata, Object, org.infinispan.metadata.Metadata, EventType)
method and then do the right thing. |
class |
ConverterAsCacheEventConverter<K,V,C>
CacheEventConverter that implements it's conversion solely on the use of the provided Converter
|
Modifier and Type | Method and Description |
---|---|
<K,V,C> CacheEventConverter<K,V,C> |
CacheEventConverterFactory.getConverter(Object[] params)
Retrieves a cache event converter instance from this factory.
|
Constructor and Description |
---|
CacheEventConverterAsConverter(CacheEventConverter<K,V,C> converter) |
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.