Interface IResourceStoreManager.IVersionedResourceStore<Key,​Value>

  • Type Parameters:
    Key - The type of the key.
    Value - The type of the associated value.
    All Superinterfaces:
    IResourceStoreManager.IVersionedResourceStoreBase<Key,​Value>
    Enclosing interface:
    IResourceStoreManager

    public static interface IResourceStoreManager.IVersionedResourceStore<Key,​Value>
    extends IResourceStoreManager.IVersionedResourceStoreBase<Key,​Value>
    Manages values associated with a certain type of key. Each key can be associated with a value, such as e.g. a file with a thumbnail. Each key has a version, which is used to determine whether the value is still valid, e.g. a thumbnail is considered stale if the file was modified after the thumbnail was created. Stale values will be removed and loaded again using a loader.

    Additionally, you can also bind a loader or version extractor, so that you do not have to specify these arguments each time you wish to obtain a value for a key.

    Since:
    8.3.0
    Author:
    XIMA MEDIA GmbH