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 Summary
Constructors
-
Method Summary
void
io.grpc.ManagedChannel
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SnailJobGrpcClient
public SnailJobGrpcClient()
-
Method Details
-
start
public void start()
启动组件
- Specified by:
start in interface Lifecycle
-
connection
public io.grpc.ManagedChannel connection()
-
close
public void close()
关闭组件
- Specified by:
close in interface Lifecycle