Interface CacheEntryListenerInvocation<K,​V>

    • Method Detail

      • invoke

        java.util.concurrent.CompletionStage<java.lang.Void> invoke​(EventWrapper<K,​V,​CacheEntryEvent<K,​V>> event,
                                                                    boolean isLocalNodePrimaryOwner)
        Invokes the event
        Parameters:
        event -
        isLocalNodePrimaryOwner -
        Returns:
        null if event was ignored or already complete otherwise all listeners for the event will be notified when the provided stage is completed
      • invokeNoChecks

        java.util.concurrent.CompletionStage<java.lang.Void> invokeNoChecks​(EventWrapper<K,​V,​CacheEntryEvent<K,​V>> wrappedEvent,
                                                                            boolean skipQueue,
                                                                            boolean skipConverter,
                                                                            boolean needsTransform)
        Invokes the event without applying filters or converters
        Parameters:
        wrappedEvent -
        skipQueue -
        skipConverter -
        needsTransform -
        Returns:
        null if event was ignored or already complete otherwise all listeners for the event will be notified when the provided stage is completed
      • isClustered

        boolean isClustered()
      • isSync

        boolean isSync()
      • getIdentifier

        java.util.UUID getIdentifier()
      • getAnnotation

        java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotation()
      • getFilterAnnotations

        java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getFilterAnnotations()
      • useStorageFormat

        boolean useStorageFormat()
        Returns:
        true if the filter/converter should be done in the storage format