org.apache.tomee.catalina
Class Warmup
java.lang.Object
org.apache.tomee.catalina.Warmup
public class Warmup
- extends Object
The classes listed and loaded eagerly have static initializers which take a tiny bit of time.
These initializers cannot be actually run in parallel because classes are loaded serially,
but executing them back to back does help speed things up a bit.
- Version:
- $Rev$ $Date$
|
Method Summary |
static void |
warmup()
Referencing this method is enough to cause the static initializer
to be called. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Warmup
public Warmup()
warmup
public static void warmup()
- Referencing this method is enough to cause the static initializer
to be called. Referencing this method in several classes is therefore safe.
This method itself does nothing.
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.