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
Modifier and TypeMethodDescriptionbooleanintlongcom.wowza.wms.mediacache.model.MediaCachelonggetName()com.wowza.wms.mediacache.model.MediaCachePerformanceCounterintintbooleanbooleanloadCacheItem(String mediaName, IMediaCacheStoreItem storeItem) loadCacheItem(String mediaName, IMediaCacheStoreItem storeItem, long length, long lastModified) newCacheItem(String mediaName) voidsetBaseClass(String baseClass) voidsetDefaultBlockSize(int defaultBlockSize) voidsetDescription(String description) voidsetMaxTimeToLive(long maxTimeToLive) voidsetMediaCache(com.wowza.wms.mediacache.model.MediaCache mediaCache) voidsetMinTimeToLive(long minTimeToLive) voidvoidsetPassThru(boolean isPassThru) voidvoidsetProperties(WMSProperties properties) voidsetReadAhead(boolean readAhead) voidsetReadAheadCount(int readAheadCount) voidsetReadAheadThreshold(int readAheadThreshold) voidsetReaderClass(String readerClass) voidsetSourcePath(String sourcePath)
-
Method Details
-
canHandle
-
newCacheItem
-
loadCacheItem
-
loadCacheItem
IMediaCacheItem loadCacheItem(String mediaName, IMediaCacheStoreItem storeItem, long length, long lastModified) -
getName
String getName() -
setName
-
setPrefix
-
getPrefix
String getPrefix() -
getDescription
String getDescription() -
setDescription
-
getBaseClass
String getBaseClass() -
setBaseClass
-
getSourcePath
String getSourcePath() -
setSourcePath
-
getDefaultBlockSize
int getDefaultBlockSize() -
setDefaultBlockSize
void setDefaultBlockSize(int defaultBlockSize) -
getProperties
WMSProperties getProperties() -
setProperties
-
getReaderClass
String getReaderClass() -
setReaderClass
-
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)
-