-
public final class CacheManager
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCacheManager.Companion
-
Constructor Summary
Constructors Constructor Description CacheManager(Context context, String currentOpenedFileName, CacheStrategy cacheStrategy)
-
Method Summary
Modifier and Type Method Description final <ERROR CLASS>initialize()final BitmapgetBitmapFromCache(Integer pageNo)final UnitaddBitmapToCache(Integer pageNo, Bitmap bitmap)final BooleanpageExistsInCache(Integer pageNo)-
-
Constructor Detail
-
CacheManager
CacheManager(Context context, String currentOpenedFileName, CacheStrategy cacheStrategy)
-
-
Method Detail
-
initialize
final <ERROR CLASS> initialize()
-
getBitmapFromCache
final Bitmap getBitmapFromCache(Integer pageNo)
-
addBitmapToCache
final Unit addBitmapToCache(Integer pageNo, Bitmap bitmap)
-
pageExistsInCache
final Boolean pageExistsInCache(Integer pageNo)
-
-
-
-