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>
All Known Implementing Classes:
AbstractBackingStore, DefaultBatchBackingStore, DefaultDynamicBackingStore, EmptyBackingStore

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

    Modifier and Type
    Method
    Description
    Get the index - mapping keys to values.
    Get the list of ordered values.
  • Method Details

    • 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.