-
Notifications
You must be signed in to change notification settings - Fork 180
Warm Up
Randgalt edited this page Oct 21, 2012
·
7 revisions
In addition to the standard lifecycle annotations @PostConstruct and @PreDestroy, Governator adds: @WarmUp
Methods annotated with @WarmUp will be called in parallel (using the Java Fork-Join framework) when LifecycleManager.start() is called. Object dependencies are respected – i.e. if object A is dependent on object B and both have warm up methods, object A’s warm up method will not be executed until object B’s warm up method completes.
An alternate version of LifecycleManager.start() can be used to limit the amount of time allowed for warm up methods to complete.
- Home
- Getting Started
- Bootstrapping
- Lifecycle Management
- Auto Binding
- Module-Dependencies
- Warm Up
- Configuration Mapping
- Field Validation
- Lazy Singleton
- Concurrent Singleton
- Generic Binding Annotations
- LifecycleListener
- Governator Phases
- Grapher Integration
- JUnit Testing
- FAQ
- Best Practices
- Spring, PicoContainer, Etc.
- Javadoc
- End-to-End Examples