Package com.wowza.wms.mediacache.model
Interface IMediaCacheStoreItem
- 
 public interface IMediaCacheStoreItemInterface that describes items within a Media Cache store.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getBlockMask()InternalStringgetBlockPath()Get the path of the block associated with this item.StringgetMediaPath()Get the path of the media associated with this item.java.util.PropertiesgetProperties()Get the properties for this itemStringgetPropertiesPath()Get the full path of the propertiescom.wowza.wms.mediacache.model.MediaCacheStoregetStore()Get the store associated to this item.voidinitMedia(long length)Initialise the media entry with the length of the asset.longlength()Get the length of the asset.voidsetBlockMask(byte[] blockMask)InternalvoidsetLength(long length)Set the length of the asset.voidsetProperties(java.util.Properties props)Set the properties for this item.StringtoString()voidupdateBlockMask(byte[] blockMask, long offset, long len)Internal
 
- 
- 
- 
Method Detail- 
getStorecom.wowza.wms.mediacache.model.MediaCacheStore getStore() Get the store associated to this item.- Returns:
- MediaCacheStore
 
 - 
setPropertiesvoid setProperties(java.util.Properties props) Set the properties for this item.- Parameters:
- Properties- props
 
 - 
getPropertiesjava.util.Properties getProperties() Get the properties for this item- Returns:
- Properties
 
 - 
getPropertiesPathString getPropertiesPath() Get the full path of the properties- Returns:
 
 - 
initMediavoid initMedia(long length) Initialise the media entry with the length of the asset.- Parameters:
- length-
 
 - 
getMediaPathString getMediaPath() Get the path of the media associated with this item.- Returns:
- String
 
 - 
getBlockPathString getBlockPath() Get the path of the block associated with this item.- Returns:
- String
 
 - 
setBlockMaskvoid setBlockMask(byte[] blockMask) Internal- Parameters:
- blockMask-
 
 - 
getBlockMaskbyte[] getBlockMask() Internal- Returns:
- byte[]
 
 - 
updateBlockMaskvoid updateBlockMask(byte[] blockMask, long offset, long len)Internal- Parameters:
- blockMask-
- offset-
- len-
 
 - 
toStringString toString() - Overrides:
- toStringin class- Object
 
 - 
lengthlong length() Get the length of the asset.- Returns:
- long
 
 - 
setLengthvoid setLength(long length) Set the length of the asset. Should be identical size when initMedia is called.- Parameters:
- length-
 
 
- 
 
-