Class UploadContentMgr
java.lang.Object
org.eclnt.jsfserver.bufferedcontent.UploadContentMgr
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
add
(IUploadContent uploadContent) static void
add
(IUploadStreamContent uploadContent) static void
remove
(IUploadContent uploadContent) static void
remove
(IUploadStreamContent uploadContent) static void
removeAllContentOlderThan
(long duration) When adding a content then the timestamp is registered.
-
Constructor Details
-
UploadContentMgr
public UploadContentMgr()
-
-
Method Details
-
add
-
remove
-
add
-
remove
-
removeAllContentOlderThan
public static void removeAllContentOlderThan(long duration) When adding a content then the timestamp is registered. This method removes all content that is older than the duration passed.- Parameters:
duration
- Duration in milliseconds.
-