IDvrRawChunkProviderpublic interface IDvrChunkMemoryCache extends IDvrRawChunkProvider
| Modifier and Type | Method | Description |
|---|---|---|
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 |
addToCache(DvrManifestChunkEntry entry,
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(int type,
long index) |
|
com.wowza.wms.dvr.DvrChunk |
retrieveRawChunk(DvrManifestChunkEntry entry) |
Given the specified manifest entry, return the raw DVR chunk.
|
void |
setContext(String context) |
Set the full context for this cache
|
void addToCache(int type,
long index,
com.wowza.wms.dvr.DvrChunk chunk)
int - typeint - indexchunk - the chunk.void addToCache(DvrManifestChunkEntry entry, com.wowza.wms.dvr.DvrChunk chunk)
entry - DVR manifest entrychunk - the chunk.void closeCache()
void init(IDvrStreamStore store)
store - The DVR stream store associated with this cache.com.wowza.wms.dvr.DvrChunk retrieveRawChunk(int type,
long index)
com.wowza.wms.dvr.DvrChunk retrieveRawChunk(DvrManifestChunkEntry entry)
IDvrRawChunkProviderretrieveRawChunk in interface IDvrRawChunkProviderentry - The DVR manifest entryvoid setContext(String context)
context -