Interface Cache

  • All Implemented Interfaces:

    public interface Cache
     implements EventDispatcher<CacheEvent>

    The media caching API.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Modifier and Type Field Description
    • Constructor Summary

      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract CacheStatus getStatus() The current status of the cache.
      abstract CachingTaskList getTasks() List of caching tasks which control the caching of media.
      abstract CachingTask createTask(@NonNull() SourceDescription source, @Nullable() CachingParameters parameters) Creates a caching task which controls the caching of the media.
      • Methods inherited from class

        addEventListener, removeEventListener
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait