Interface NearCacheInvalidationStrategy.PollInvalidationCallback

Enclosing class:
NearCacheInvalidationStrategy
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface NearCacheInvalidationStrategy.PollInvalidationCallback
Callback interface for poll-based invalidation. Invoked periodically when in POLL mode to clear stale near-cache entries.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invalidate all near-cache entries for the given map names.
  • Method Details

    • invalidateMaps

      void invalidateMaps(Set<String> mapNames)
      Invalidate all near-cache entries for the given map names.
      Parameters:
      mapNames - the set of map names to invalidate