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 Summary
Constructors Constructor Description CachedIntrospectionResultsFlusher(com.atlassian.event.api.EventListenerRegistrar eventListenerRegistrar)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
void
init()
void
onPluginFrameworkStartedEvent(PluginFrameworkStartedEvent event)
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
destroy
@PreDestroy public void destroy()
-
onPluginFrameworkStartedEvent
@EventListener public void onPluginFrameworkStartedEvent(PluginFrameworkStartedEvent event)
-
-