org.apache.tomee.catalina
Class Warmup

java.lang.Object
  extended by 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$

Constructor Summary
Warmup()
           
 
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
 

Constructor Detail

Warmup

public Warmup()
Method Detail

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.