Interface BackingStore<I,​T>

  • Type Parameters:
    I - the identifier type
    T - the type of object stored, referenced by the key.
    All Known Subinterfaces:
    BatchBackingStore<I,​T>, DynamicBackingStore<I,​T>

    public interface BackingStore<I,​T>
    A backing store that holds cached objects.
    • Method Detail

      • getIndexedValues

        @Nonnull
        Map<I,​List<T>> getIndexedValues()
        Get the index - mapping keys to values.
        Returns:
        the index.
      • getOrderedValues

        @Nonnull
        List<T> getOrderedValues()
        Get the list of ordered values.
        Returns:
        the list of ordered values.