Class UploadContentMgr

java.lang.Object
org.eclnt.jsfserver.bufferedcontent.UploadContentMgr

public class UploadContentMgr extends Object
  • Constructor Details

    • UploadContentMgr

      public UploadContentMgr()
  • Method Details

    • add

      public static void add(IUploadContent uploadContent)
    • remove

      public static void remove(IUploadContent uploadContent)
    • add

      public static void add(IUploadStreamContent uploadContent)
    • remove

      public static void remove(IUploadStreamContent uploadContent)
    • 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.