Class FlowInfoStorage

java.lang.Object
com.logicaldoc.enterprise.dropspot.FlowInfoStorage

public class FlowInfoStorage extends Object
The temporary collector of upload flows.
Since:
8.2.3
Author:
Marco Meschieri - LogicalDOC
  • Method Details

    • getInstance

      public static FlowInfoStorage getInstance()
    • get

      public FlowInfo get(int flowChunkSize, long flowTotalSize, String flowIdentifier, String flowFilename, String flowRelativePath, File localFile, String sid, long folderId, Locale locale)
      Get FlowInfo from mMap or Create a new one
      Parameters:
      flowChunkSize - size of the chunk in bytes
      flowTotalSize - total size of the flow in bytes
      flowIdentifier - identifier of the flow
      flowFilename - file name
      flowRelativePath - relative path of the flow
      localFile - the local file
      sid - identifier of the session
      folderId - identifier of the folder
      locale - the locale to use
      Returns:
      object representation of the flow
    • remove

      public void remove(FlowInfo info)