Package com.wowza.wms.mediacache.model
Interface IMediaCacheSource
-
public interface IMediaCacheSource
Internal use do not use. Please see descriptions in IMediaCacheItemHTTPReaderFactory and IMediaCacheHTTPByteReader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canHandle(String mediaName)
String
getBaseClass()
int
getDefaultBlockSize()
String
getDescription()
long
getMaxTimeToLive()
com.wowza.wms.mediacache.model.MediaCache
getMediaCache()
long
getMinTimeToLive()
String
getName()
com.wowza.wms.mediacache.model.MediaCachePerformanceCounter
getPerformanceCount()
String
getPrefix()
WMSProperties
getProperties()
int
getReadAheadCount()
int
getReadAheadThreshold()
String
getReaderClass()
String
getSourcePath()
boolean
isPassThru()
boolean
isReadAhead()
IMediaCacheItem
loadCacheItem(String mediaName, IMediaCacheStoreItem storeItem)
IMediaCacheItem
loadCacheItem(String mediaName, IMediaCacheStoreItem storeItem, long length, long lastModified)
IMediaCacheItem
newCacheItem(String mediaName)
void
setBaseClass(String baseClass)
void
setDefaultBlockSize(int defaultBlockSize)
void
setDescription(String description)
void
setMaxTimeToLive(long maxTimeToLive)
void
setMediaCache(com.wowza.wms.mediacache.model.MediaCache mediaCache)
void
setMinTimeToLive(long minTimeToLive)
void
setName(String name)
void
setPassThru(boolean isPassThru)
void
setPrefix(String prefix)
void
setProperties(WMSProperties properties)
void
setReadAhead(boolean readAhead)
void
setReadAheadCount(int readAheadCount)
void
setReadAheadThreshold(int readAheadThreshold)
void
setReaderClass(String readerClass)
void
setSourcePath(String sourcePath)
-
-
-
Method Detail
-
canHandle
boolean canHandle(String mediaName)
-
newCacheItem
IMediaCacheItem newCacheItem(String mediaName)
-
loadCacheItem
IMediaCacheItem loadCacheItem(String mediaName, IMediaCacheStoreItem storeItem)
-
loadCacheItem
IMediaCacheItem loadCacheItem(String mediaName, IMediaCacheStoreItem storeItem, long length, long lastModified)
-
getName
String getName()
-
setName
void setName(String name)
-
setPrefix
void setPrefix(String prefix)
-
getPrefix
String getPrefix()
-
getDescription
String getDescription()
-
setDescription
void setDescription(String description)
-
getBaseClass
String getBaseClass()
-
setBaseClass
void setBaseClass(String baseClass)
-
getSourcePath
String getSourcePath()
-
setSourcePath
void setSourcePath(String sourcePath)
-
getDefaultBlockSize
int getDefaultBlockSize()
-
setDefaultBlockSize
void setDefaultBlockSize(int defaultBlockSize)
-
getProperties
WMSProperties getProperties()
-
setProperties
void setProperties(WMSProperties properties)
-
getReaderClass
String getReaderClass()
-
setReaderClass
void setReaderClass(String readerClass)
-
getMediaCache
com.wowza.wms.mediacache.model.MediaCache getMediaCache()
-
setMediaCache
void setMediaCache(com.wowza.wms.mediacache.model.MediaCache mediaCache)
-
getPerformanceCount
com.wowza.wms.mediacache.model.MediaCachePerformanceCounter getPerformanceCount()
-
getMinTimeToLive
long getMinTimeToLive()
-
setMinTimeToLive
void setMinTimeToLive(long minTimeToLive)
-
getMaxTimeToLive
long getMaxTimeToLive()
-
setMaxTimeToLive
void setMaxTimeToLive(long maxTimeToLive)
-
isReadAhead
boolean isReadAhead()
-
setReadAhead
void setReadAhead(boolean readAhead)
-
getReadAheadThreshold
int getReadAheadThreshold()
-
setReadAheadThreshold
void setReadAheadThreshold(int readAheadThreshold)
-
setReadAheadCount
void setReadAheadCount(int readAheadCount)
-
getReadAheadCount
int getReadAheadCount()
-
isPassThru
boolean isPassThru()
-
setPassThru
void setPassThru(boolean isPassThru)
-
-