Package zendesk.core
Interface MemoryCache
-
public interface MemoryCache
Cache for storing data at the application level to survive config changes, prevents pollution of the parcelable buffers when handing larger objects. Entries here might removed for any reason so don't use for passing objects required objects across components Implementations should have a max size to prevent runaway caching size. Should only be used for caching data objects, DON'T PUT BITMAPS HERE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
clear()
boolean
contains(java.lang.String key)
<T> T
get(java.lang.String key)
<T> T
getOrDefault(java.lang.String key, T defaultData)
void
put(java.lang.String key, java.lang.Object data)
void
remove(java.lang.String key)
-