@Retention(value=RUNTIME)
@Target(value={METHOD,CONSTRUCTOR})
public @interface StartSystem
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
invoke
Specifies a method to be invoked at the end of monitoring in case
of a shutdown hook.
|
boolean |
shutdownHook
Specifies whether a shutdown hook should be inserted instead of
EndSystem. |
int |
statisticsInterval
Ignored.
|
boolean |
swingTimer
Ignored.
|
public abstract int statisticsInterval
public abstract boolean shutdownHook
EndSystem. It is recommended to use EndSystem instead
as this may lead to locking the JVM at the end, particularly when waiting
for events to be processed.true insert a shutdown hook, false else