Interface DataCache.RemoveCallback<T>

  • Type Parameters:
    T - Search result type
    Enclosing class:
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public static interface DataCache.RemoveCallback<T>
    Search callback interface
    • Method Detail

      • onRemove

        void onRemove​(java.lang.String key,
                      T value,
                      boolean expired)
        On remove handler
        key - Key
        value - Value
        expired - Expired?