Class BuildMetadataCacheResetHandler

    • Method Detail

      • isEmpty

        public boolean isEmpty​(@NotNull
                               String name)
        Description copied from interface: ResetCacheHandler
        Returns whether the cache denoted by name is empty. The specified name is guaranteed to be from the list returned by listCaches.
        Specified by:
        isEmpty in interface ResetCacheHandler
        Parameters:
        name - cache name
        Returns:
        true if the cache is empty
      • resetCache

        public void resetCache​(@NotNull
                               String name)
        Description copied from interface: ResetCacheHandler
        Resets the cache (erases all stored entries). After reset the cache should be empty. The specified name is guaranteed to be from the list returned by listCaches.
        Specified by:
        resetCache in interface ResetCacheHandler
        Parameters:
        name - cache name