| Modifier and Type | Field and Description |
|---|---|
| public static final SpelCompilerMode | IMMEDIATE
In immediate mode, expressions are compiled as soon as possible (usually after 1 interpreted run). |
| public static final SpelCompilerMode | MIXED
In mixed mode, expression evaluation silently switches between interpreted and compiled over time. |
| public static final SpelCompilerMode | OFF
The compiler is switched off; this is the default. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SpelCompilerMode | |
| public static SpelCompilerMode[] |
| IMMEDIATE | back to summary |
|---|---|
| public static final SpelCompilerMode IMMEDIATE In immediate mode, expressions are compiled as soon as possible (usually after 1 interpreted run). If a compiled expression fails it will throw an exception to the caller. | |
| MIXED | back to summary |
|---|---|
| public static final SpelCompilerMode MIXED In mixed mode, expression evaluation silently switches between interpreted and compiled over time. After a number of runs the expression gets compiled. If it later fails (possibly due to inferred type information changing) then that will be caught internally and the system switches back to interpreted mode. It may subsequently compile it again later. | |
| OFF | back to summary |
|---|---|
| public static final SpelCompilerMode OFF The compiler is switched off; this is the default. | |
| SpelCompilerMode | back to summary |
|---|---|
| private SpelCompilerMode() | |
| valueOf | back to summary |
|---|---|
| public static SpelCompilerMode valueOf(String name) | |
| values | back to summary |
|---|---|
| public static SpelCompilerMode[] values() | |