public interface IDvrChunkMemoryCache extends IDvrRawChunkProvider
| Modifier and Type | Method and Description |
|---|---|
void |
addToCache(DvrManifestChunkEntry entry,
com.wowza.wms.dvr.DvrChunk chunk)
Provide in-memory cache the opportunity to add the DVR chunk to its cache.
|
void |
addToCache(int type,
long index,
com.wowza.wms.dvr.DvrChunk chunk)
Provide in-memory cache the opportunity to add the DVR chunk to its cache.
|
void |
closeCache() |
void |
init(IDvrStreamStore store)
Called to initialize the in-memory cache.
|
com.wowza.wms.dvr.DvrChunk |
retrieveRawChunk(DvrManifestChunkEntry entry)
Given the specified manifest entry, return the raw DVR chunk.
|
com.wowza.wms.dvr.DvrChunk |
retrieveRawChunk(int type,
long index) |
void |
setContext(String context)
Set the full context for this cache
|
void addToCache(DvrManifestChunkEntry entry, com.wowza.wms.dvr.DvrChunk chunk)
entry - DVR manifest entrychunk - the chunk.void addToCache(int type,
long index,
com.wowza.wms.dvr.DvrChunk chunk)
int - typeint - indexchunk - the chunk.void closeCache()
void init(IDvrStreamStore store)
store - The DVR stream store associated with this cache.com.wowza.wms.dvr.DvrChunk retrieveRawChunk(DvrManifestChunkEntry entry)
IDvrRawChunkProviderretrieveRawChunk in interface IDvrRawChunkProviderentry - The DVR manifest entrycom.wowza.wms.dvr.DvrChunk retrieveRawChunk(int type,
long index)
void setContext(String context)
context -