List of usage examples for org.springframework.boot.devtools.restart FailureHandler NONE
FailureHandler NONE
To view the source code for org.springframework.boot.devtools.restart FailureHandler NONE.
Click Source Link
From source file:org.springframework.boot.devtools.restart.Restarter.java
private void immediateRestart() { try {//from w w w . j av a2s . c om getLeakSafeThread().callAndWait(new Callable<Void>() { @Override public Void call() throws Exception { start(FailureHandler.NONE); cleanupCaches(); return null; } }); } catch (Exception ex) { this.logger.warn("Unable to initialize restarter", ex); } SilentExitExceptionHandler.exitCurrentThread(); }
From source file:org.springframework.boot.devtools.restart.Restarter.java
/** * Restart the running application. */ public void restart() { restart(FailureHandler.NONE); }