Datastore Garbage Collection in AEM 6.0
Dear All,
We have 2 options to run garbase collection
1) runDataStoreGarbageCollection(java.lang.Boolean delete) at /system/console/jmx/com.adobe.granite%3Atype%3DRepository
2) startRevisionGC() at /system/console/jmx/org.apache.jackrabbit.oak%3Aid%3D15%2Cname%3D"repository+manager"%2Ctype%3D"RepositoryManagement"
Which one is correct and when to run what? What is the difference between both?
Thank you in advance.