public final class WebServerGracefulShutdownLifecycle extends ObjectSE implements SmartLifecycle
SmartLifecycle
は、WebServer
の正常なシャットダウンをトリガーします。修飾子と型 | フィールドと説明 |
---|---|
static int | SMART_LIFECYCLE_PHASE Web サーバーの正常なシャットダウンが実行される SmartLifecycle phase 。 |
DEFAULT_PHASE
コンストラクターと説明 |
---|
WebServerGracefulShutdownLifecycle(WebServer webServer) 指定された webServer を正常にシャットダウンする新しい WebServerGracefulShutdownLifecycle を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
int | getPhase() |
boolean | isRunning() |
void | start() |
void | stop() |
void | stop(RunnableSE callback) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
isAutoStartup
public static final int SMART_LIFECYCLE_PHASE
SmartLifecycle phase
。public WebServerGracefulShutdownLifecycle(WebServer webServer)
webServer
を正常にシャットダウンする新しい WebServerGracefulShutdownLifecycle
を作成します。webServer
- 正常にシャットダウンする Web サーバー public void stop(RunnableSE callback)
SmartLifecycle
の stop
public int getPhase()
Phased
の getPhase
SmartLifecycle
の getPhase