Class CachedIntrospectionResultsFlusher

java.lang.Object
com.atlassian.confluence.impl.spring.CachedIntrospectionResultsFlusher

public class CachedIntrospectionResultsFlusher extends Object
This class clears all cached introspection results after plugin framework has been started.

Most classes that are introspected during start-up are not used later on. By flushing the cache after start-up, we can free up some memory.

Since:
5.8
  • Constructor Details

    • CachedIntrospectionResultsFlusher

      public CachedIntrospectionResultsFlusher(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
  • Method Details

    • init

      @PostConstruct public void init()
    • destroy

      @PreDestroy public void destroy()
    • onPluginFrameworkStartedEvent

      @EventListener public void onPluginFrameworkStartedEvent(PluginFrameworkStartedEvent event)