クラス GrpcServerTerminatedEvent

java.lang.ObjectSE
java.util.EventObjectSE
org.springframework.context.ApplicationEvent
org.springframework.grpc.server.lifecycle.GrpcServerLifecycleEvent
org.springframework.grpc.server.lifecycle.GrpcServerTerminatedEvent
実装済みのインターフェース一覧:
SerializableSE

public class GrpcServerTerminatedEvent extends GrpcServerLifecycleEvent
このイベントは、サーバーのシャットダウンが完了した後に発生します。サーバーはそれ以降、リクエストを処理しなくなります。
作成者:
Daniel Theuke ([email protected])
関連事項:
  • コンストラクターの詳細

    • GrpcServerTerminatedEvent

      public GrpcServerTerminatedEvent(GrpcServerLifecycle lifecyle, ClockSE clock, io.grpc.Server server)
      新しい GrpcServerTerminatedEvent を作成します。
      パラメーター:
      lifecyle - この出来事を引き起こしたライフサイクル。
      clock - タイムスタンプを決定するために使用される監視。
      server - このイベントに関連するサーバー。
    • GrpcServerTerminatedEvent

      public GrpcServerTerminatedEvent(GrpcServerLifecycle lifecyle, io.grpc.Server server)
      新しい GrpcServerTerminatedEvent を作成します。
      パラメーター:
      lifecyle - この出来事を引き起こしたライフサイクル。
      server - このイベントに関連するサーバー。