public class MonitorPlugin extends AbstractSoulPlugin
| 构造器和说明 |
|---|
MonitorPlugin(SoulEventPublisher soulEventPublisher,
LocalCacheManager localCacheManager)
Instantiates a new Monitor plugin.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected reactor.core.publisher.Mono<Void> |
doExecute(org.springframework.web.server.ServerWebExchange exchange,
SoulPluginChain chain,
SelectorData selector,
RuleData rule)
this is Template Method child has Implement your own logic.
|
int |
getOrder()
return plugin order .
|
String |
named()
acquire plugin name.
|
PluginTypeEnum |
pluginType()
return plugin type.
|
executeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskippublic MonitorPlugin(SoulEventPublisher soulEventPublisher, LocalCacheManager localCacheManager)
soulEventPublisher - the soul event publisherlocalCacheManager - the local cache managerprotected reactor.core.publisher.Mono<Void> doExecute(org.springframework.web.server.ServerWebExchange exchange, SoulPluginChain chain, SelectorData selector, RuleData rule)
AbstractSoulPlugindoExecute 在类中 AbstractSoulPluginexchange - exchange the current server exchange ServerWebExchangechain - chain the current chain ServerWebExchangeselector - selector SelectorDatarule - rule RuleDataMono<Void> to indicate when request handling is completepublic String named()
SoulPluginpublic int getOrder()
SoulPluginpublic PluginTypeEnum pluginType()
Copyright © 2019 dromara. All rights reserved.