Interface CacheEvictionManager

    • Method Detail

      • touch

        void touch​(IgniteTxEntry txEntry,
                   boolean loc)
        Parameters:
        txEntry - Transactional entry.
        loc - Local transaction flag.
      • touch

        void touch​(GridCacheEntryEx e)
        Parameters:
        e - Entry for eviction policy notification.
      • evict

        boolean evict​(@Nullable
                      @Nullable GridCacheEntryEx entry,
                      @Nullable
                      @Nullable GridCacheVersion obsoleteVer,
                      boolean explicit,
                      @Nullable
                      @Nullable CacheEntryPredicate[] filter)
               throws IgniteCheckedException
        Parameters:
        entry - Entry to attempt to evict.
        obsoleteVer - Obsolete version.
        filter - Optional entry filter.
        explicit - True if evict is called explicitly, false if it's called from eviction policy.
        Returns:
        True if entry was marked for eviction.
        Throws:
        IgniteCheckedException - In case of error.