public class GenericDocumentResultLruStorage
Stores and provides access to the scanning result of the given type by ResultId This implementation uses LRU cache as a storage to keep the memory usage low even if many results will be added to the storage
public static int LRU_CACHE_SIZE
The size of the LRU Cache. Currently is 32 Mb
public static io.scanbot.sdk.genericdocument.result.GenericDocumentResultLruStorage.Companion Companion
public GenericDocumentResultLruStorage()
Stores and provides access to the scanning result of the given type by ResultId This implementation uses LRU cache as a storage to keep the memory usage low even if many results will be added to the storage
public void putResult(@NotNull
java.lang.String resultId,
@NotNull
io.scanbot.genericdocument.entity.GenericDocument result)
@Nullable
public io.scanbot.genericdocument.entity.GenericDocument getResult(@NotNull
java.lang.String resultId)
public void removeResult(@NotNull
java.lang.String resultId)
public void clear()