Class PluginCrossNodesEventsReceiverService
java.lang.Object
com.atlassian.bamboo.grpc.PluginCrossNodesEventsServiceGrpc.PluginCrossNodesEventsServiceImplBase
com.atlassian.bamboo.grpc.receiver.PluginCrossNodesEventsReceiverService
- All Implemented Interfaces:
PluginCrossNodesEventsServiceGrpc.AsyncService
,io.grpc.BindableService
public class PluginCrossNodesEventsReceiverService
extends PluginCrossNodesEventsServiceGrpc.PluginCrossNodesEventsServiceImplBase
This class is responsible for receiving and processing event-based gRPC requests from other nodes within the cluster.
This service handles only plugin system related events.
- Since:
- 10.0
-
Constructor Summary
ConstructorDescriptionPluginCrossNodesEventsReceiverService
(PluginClusterAwareService pluginClusterAwareService, DeadLetterQueue deadLetterQueue) -
Method Summary
Modifier and TypeMethodDescriptionvoid
disablePlugin
(CrossNodesCommunication.DisablePluginRequest request, io.grpc.stub.StreamObserver<CrossNodesCommunication.CommonResponse> responseObserver) void
enablePlugin
(CrossNodesCommunication.EnablePluginRequest request, io.grpc.stub.StreamObserver<CrossNodesCommunication.CommonResponse> responseObserver) void
installPlugin
(CrossNodesCommunication.InstallPluginRequest request, io.grpc.stub.StreamObserver<CrossNodesCommunication.CommonResponse> responseObserver) Plugins management related eventsvoid
uninstallPlugin
(CrossNodesCommunication.UninstallPluginRequest request, io.grpc.stub.StreamObserver<CrossNodesCommunication.CommonResponse> responseObserver) void
upgradePlugin
(CrossNodesCommunication.UpgradePluginRequest request, io.grpc.stub.StreamObserver<CrossNodesCommunication.CommonResponse> responseObserver) Methods inherited from class com.atlassian.bamboo.grpc.PluginCrossNodesEventsServiceGrpc.PluginCrossNodesEventsServiceImplBase
bindService
-
Constructor Details
-
PluginCrossNodesEventsReceiverService
public PluginCrossNodesEventsReceiverService(PluginClusterAwareService pluginClusterAwareService, DeadLetterQueue deadLetterQueue)
-
-
Method Details
-
installPlugin
public void installPlugin(CrossNodesCommunication.InstallPluginRequest request, io.grpc.stub.StreamObserver<CrossNodesCommunication.CommonResponse> responseObserver) Description copied from interface:PluginCrossNodesEventsServiceGrpc.AsyncService
Plugins management related events
-
uninstallPlugin
public void uninstallPlugin(CrossNodesCommunication.UninstallPluginRequest request, io.grpc.stub.StreamObserver<CrossNodesCommunication.CommonResponse> responseObserver) -
enablePlugin
public void enablePlugin(CrossNodesCommunication.EnablePluginRequest request, io.grpc.stub.StreamObserver<CrossNodesCommunication.CommonResponse> responseObserver) -
disablePlugin
public void disablePlugin(CrossNodesCommunication.DisablePluginRequest request, io.grpc.stub.StreamObserver<CrossNodesCommunication.CommonResponse> responseObserver) -
upgradePlugin
public void upgradePlugin(CrossNodesCommunication.UpgradePluginRequest request, io.grpc.stub.StreamObserver<CrossNodesCommunication.CommonResponse> responseObserver)
-