Interface ClassLoaderAwareFilteringListenable<K,​V>

    • Method Detail

      • addListener

        void addListener​(java.lang.Object listener,
                         KeyFilter<? super K> filter,
                         java.lang.ClassLoader classLoader)
        Adds a listener to the component. Typically, listeners would need to be annotated with Listener and further to that, contain methods annotated appropriately, otherwise the listener will not be registered.

        See the Listener annotation for more information.

        listener - must not be null.
        classLoader - class loader
      • addListenerAsync

        <C> java.util.concurrent.CompletionStage<java.lang.Void> addListenerAsync​(java.lang.Object listener,
                                                                                  CacheEventFilter<? super K,​? super V> filter,
                                                                                  CacheEventConverter<? super K,​? super V,​C> converter,
                                                                                  java.lang.ClassLoader classLoader)