Interface CacheInterface

    • Method Summary

      Modifier and Type Method Description
      void enableGC​(boolean enabled)
      Disable or Enable the internal GC
      boolean garbageCollection()
      Partial garbage collection of object
      java.lang.String getCacheKey​(Grant g)
      Memory unique cache key of object instance
      java.lang.String getName()
      Related object name
      boolean isJavaImplemented()
      Hooks implemented in Java ?
      long lastUsage​(boolean update)
      Manage the last usage of object
    • Method Detail

      • getCacheKey

        java.lang.String getCacheKey​(Grant g)
        Memory unique cache key of object instance
        Parameters:
        g - Grant
        Returns:
        Cache key of object instance
      • getName

        java.lang.String getName()
        Related object name
      • enableGC

        void enableGC​(boolean enabled)
        Disable or Enable the internal GC
        Parameters:
        enabled - false to disable internal GC
      • lastUsage

        long lastUsage​(boolean update)
        Manage the last usage of object
        Parameters:
        update - true to update the last usage date of object
        Returns:
        last usage date in milliseconds
      • garbageCollection

        boolean garbageCollection()
        Partial garbage collection of object
        Returns:
        true if something has been cleared
      • isJavaImplemented

        boolean isJavaImplemented()
        Hooks implemented in Java ?