Class SnailJobGrpcClient

java.lang.Object
com.aizuda.snailjob.client.common.rpc.client.grpc.SnailJobGrpcClient
All Implemented Interfaces:
Lifecycle

@Component @Order(-2147483648) public class SnailJobGrpcClient extends Object implements Lifecycle
  • Constructor Details

    • SnailJobGrpcClient

      public SnailJobGrpcClient()
  • Method Details

    • start

      public void start()
      Description copied from interface: Lifecycle
      启动组件
      Specified by:
      start in interface Lifecycle
    • connection

      public io.grpc.ManagedChannel connection()
    • close

      public void close()
      Description copied from interface: Lifecycle
      关闭组件
      Specified by:
      close in interface Lifecycle