Function javavm::cache_class[][src]

pub fn cache_class(name: &str, class: JClass<'static>)
Expand description

Cache this class. You can retrieve the class with the load_class_cached function, passing it the name given to this function. Note that this class will only be available for the “current thread”. I do not know if the class instances are usable on multiple threads and until I’m sure about this, thread-local storage is what I’ll stick to