Class ClusterCacheAudit

java.lang.Object
com.kingsrook.qqq.backend.core.cluster.ClusterCacheAudit

public final class ClusterCacheAudit extends Object
Test helper: finds static Memoization fields that did not register with ClusterCaches (shared or node-local), so a new static cache cannot silently go stale on other nodes. In a test:
assertEquals(List.of(), ClusterCacheAudit.unregisteredStaticCaches("com.mycompany"));
  • Method Details

    • unregisteredStaticCaches

      public static List<String> unregisteredStaticCaches(String... packageNames) throws Exception
      "Class.field" for each unregistered static Memoization in the packages (and their sub-packages).
      Throws:
      Exception