I have a caching bean that I use to look up/store information about objects in an app. I want to do as few fetching of Views as possible as I would imagine each Database.getView comes at some cost.
What is the least expensive way to trigger “View has been recycled”?
After inspiration from Sven Hasselbach, I created this method:
Update: It seems using this method requires changes to java.policy. Specifically this line: notesObject.getClass().getSuperclass().getDeclaredMethod( “isDead” )