ModelToResourceClassCache

open class ModelToResourceClassCache

Maintains a cache of Model + Resource class to a set of registered resource classes that are subclasses of the resource class that can be decoded from the model class.

Functions

Link copied to clipboard
open fun clear()
Link copied to clipboard
open fun get(    modelClass: Class<out Any>,     resourceClass: Class<out Any>,     transcodeClass: Class<out Any>): List<Class<out Any>>
Link copied to clipboard
open fun put(    modelClass: Class<out Any>,     resourceClass: Class<out Any>,     transcodeClass: Class<out Any>,     resourceClasses: List<Class<out Any>>)