public class CachingFileKeyFrameMetaCache extends FileKeyFrameMetaCache
| Constructor and Description |
|---|
CachingFileKeyFrameMetaCache() |
| Modifier and Type | Method and Description |
|---|---|
IKeyFrameDataAnalyzer.KeyFrameMeta |
loadKeyFrameMeta(File file)
Load keyframe informations for the given file.
|
void |
removeKeyFrameMeta(File file)
Remove keyframe information for given file.
|
void |
saveKeyFrameMeta(File file,
IKeyFrameDataAnalyzer.KeyFrameMeta meta)
Store keyframe informations for the given file.
|
void |
setMaxCacheEntry(int maxCacheEntry) |
public IKeyFrameDataAnalyzer.KeyFrameMeta loadKeyFrameMeta(File file)
FileKeyFrameMetaCacheloadKeyFrameMeta in interface IKeyFrameMetaCacheloadKeyFrameMeta in class FileKeyFrameMetaCachefile - File to load informations for.null if none exist.public void removeKeyFrameMeta(File file)
IKeyFrameMetaCacheremoveKeyFrameMeta in interface IKeyFrameMetaCacheremoveKeyFrameMeta in class FileKeyFrameMetaCachefile - File to remove information for.public void saveKeyFrameMeta(File file, IKeyFrameDataAnalyzer.KeyFrameMeta meta)
FileKeyFrameMetaCachesaveKeyFrameMeta in interface IKeyFrameMetaCachesaveKeyFrameMeta in class FileKeyFrameMetaCachefile - File to save informations for.meta - Keyframe informations for this file.public void setMaxCacheEntry(int maxCacheEntry)
Copyright © 2005–2017 Red5. All rights reserved.