Interface MutableCacheView<T>

Type Parameters:
T - Type of the entity held by this cache.
All Superinterfaces:
CacheView<T>, Iterable<T>
All Known Subinterfaces:
MutableNamedCacheView<T>
All Known Implementing Classes:
DefaultCacheView, DefaultNamedCacheView, NoopCacheView

public interface MutableCacheView<T> extends CacheView<T>
Mutable cache view, which allows modifications to the storage. Used by MemoryEntityCache to allow custom implementations.
Since:
12/23/18
Author:
natanbc
  • Method Details

    • removeIf

      void removeIf(@Nonnull LongPredicate predicate)
    • put

      @Nullable T put(long key, @Nonnull T value)
    • remove

      @Nullable T remove(long key)