Package 

Class CachingParameters

  • All Implemented Interfaces:

    
    public class CachingParameters
    
                        

    The configuration of a caching task.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class CachingParameters.Builder

      The builder for the caching parameters.

    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Date getExpirationDate() The expiration date of the cached data.
      String getAmount() The amount of data to cache for the given stream.
      Long getBandwidth() See bandwidth for field information
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getExpirationDate

        @Nullable() Date getExpirationDate()

        The expiration date of the cached data.

        Default: 30 minutes after starting the caching task.

      • getAmount

        @NonNull() String getAmount()

        The amount of data to cache for the given stream. Possible formats:

        • A number in seconds.
        • A percentage string (XX%) for a proportion of the content duration.

        Default: "100%"