Interface IMediaCacheStoreItem


public interface IMediaCacheStoreItem
Interface that describes items within a Media Cache store.
  • Method Details

    • getStore

      com.wowza.wms.mediacache.model.MediaCacheStore getStore()
      Get the store associated to this item.
      Returns:
      MediaCacheStore
    • setProperties

      void setProperties(Properties props)
      Set the properties for this item.
      Parameters:
      Properties - props
    • getProperties

      Properties getProperties()
      Get the properties for this item
      Returns:
      Properties
    • getPropertiesPath

      String getPropertiesPath()
      Get the full path of the properties
      Returns:
    • initMedia

      void initMedia(long length)
      Initialise the media entry with the length of the asset.
      Parameters:
      length -
    • getMediaPath

      String getMediaPath()
      Get the path of the media associated with this item.
      Returns:
      String
    • getBlockPath

      String getBlockPath()
      Get the path of the block associated with this item.
      Returns:
      String
    • setBlockMask

      void setBlockMask(byte[] blockMask)
      Internal
      Parameters:
      blockMask -
    • getBlockMask

      byte[] getBlockMask()
      Internal
      Returns:
      byte[]
    • updateBlockMask

      void updateBlockMask(byte[] blockMask, long offset, long len)
      Internal
      Parameters:
      blockMask -
      offset -
      len -
    • toString

      String toString()
      Overrides:
      toString in class Object
    • length

      long length()
      Get the length of the asset.
      Returns:
      long
    • setLength

      void setLength(long length)
      Set the length of the asset. Should be identical size when initMedia is called.
      Parameters:
      length -