Package com.alibaba.spring.boot.rsocket
Class RSocketEndpoint
- java.lang.Object
-
- com.alibaba.spring.boot.rsocket.RSocketEndpoint
-
@Endpoint(id="rsocket") public class RSocketEndpoint extends Object
rsocket endpoint for spring boot actuator- Author:
- leijuan
-
-
Constructor Summary
Constructors Constructor Description RSocketEndpoint(RSocketProperties properties, UpstreamManager upstreamManager, RSocketRequesterSupport rsocketRequesterSupport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetRsocketServiceStatus()Map<String,Object>info()booleanisServiceProvider()reactor.core.publisher.Mono<String>operate(String action)reactor.core.publisher.Mono<Void>sendAppStatus(Integer status)reactor.core.publisher.Mono<Void>sendRegisterService(ServiceLocator targetService)reactor.core.publisher.Mono<Void>sendUnRegisterService(ServiceLocator targetService)
-
-
-
Constructor Detail
-
RSocketEndpoint
public RSocketEndpoint(RSocketProperties properties, UpstreamManager upstreamManager, RSocketRequesterSupport rsocketRequesterSupport)
-
-
Method Detail
-
operate
@WriteOperation public reactor.core.publisher.Mono<String> operate(@Selector String action)
-
sendRegisterService
public reactor.core.publisher.Mono<Void> sendRegisterService(ServiceLocator targetService)
-
sendUnRegisterService
public reactor.core.publisher.Mono<Void> sendUnRegisterService(ServiceLocator targetService)
-
getRsocketServiceStatus
public Integer getRsocketServiceStatus()
-
isServiceProvider
public boolean isServiceProvider()
-
-