public interface BundleCache extends Invalidable
| Modifier and Type | Method and Description |
|---|---|
Bundle |
get(long id)
get Bundle with given
id from cache |
String |
print()
prints String representation of whole cache state
|
void |
put(Bundle bundle)
add bundle to cache
|
void |
remove(long id)
removes bundle with given
id from cache. |
clearBundle get(long id)
id from cacheid - bundle id to get from cacheid in cachevoid put(Bundle bundle)
bundle - to store in cachevoid remove(long id)
id from cache. Nothing happens if there is no bundle with given id in cacheid - bundle id to removeString print()
Copyright © 2021. All rights reserved.