- <init>
- init
- reset
Reset the AsyncUploadCache to empty #asyncUploadMap and #toBeDeleted
- add
This methods checks if file can be added to #asyncUploadMap. If yes it adds to
#asyncUploadMap and #
- delete
This methods deletes asynchronous upload for @param fileName if there exists
asynchronous upload for
- deleteOlderThan
Delete in progress asynchronous uploads which are older than @param min. This
method leverage lastMo
- deserializeAsyncUploadMap
Deserialize #asyncUploadMap from local file system.
- getAll
This methods returns the in progress asynchronous uploads which are not marked
for delete.
- getLastModified
Returns lastModified from #asyncUploadMap if found else returns 0.
- hasEntry
This methos checks if asynchronous upload is in progress for @param fileName. If
@param touch is tru
- remove
This methods removes file (if found) from #asyncUploadMap. If file is found, it
immediately serializ
- serializeAsyncUploadMap
Serialize #asyncUploadMap to local file system.