Interface CacheManagerNotifier

    • Method Detail

      • notifyViewChange

        CompletionStage<Void> notifyViewChange​(List<Address> members,
                                               List<Address> oldMembers,
                                               Address myAddress,
                                               int viewId)
        Notifies all registered listeners of a viewChange event. Note that viewChange notifications are ALWAYS sent immediately.
      • hasListener

        boolean hasListener​(Class<? extends Annotation> annotationClass)
        Returns whether there is at least one listener registered for the given annotation
        Parameters:
        annotationClass - annotation to test for
        Returns:
        true if there is a listener mapped to the annotation, otherwise false