|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplay.classloading.BytecodeCache
public class BytecodeCache
Used to speed up compilation time
| Constructor Summary | |
|---|---|
BytecodeCache()
|
|
| Method Summary | |
|---|---|
static void |
cacheBytecode(byte[] byteCode,
java.lang.String name,
java.lang.String source)
Cache the bytecode |
static void |
deleteBytecode(java.lang.String name)
Delete the bytecode |
static byte[] |
getBytecode(java.lang.String name,
java.lang.String source)
Retrieve the bytecode if source has not changed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BytecodeCache()
| Method Detail |
|---|
public static void deleteBytecode(java.lang.String name)
name - Cache name
public static byte[] getBytecode(java.lang.String name,
java.lang.String source)
name - The cache namesource - The source code
public static void cacheBytecode(byte[] byteCode,
java.lang.String name,
java.lang.String source)
byteCode - The bytecodename - The cache namesource - The corresponding source
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||