-
Notifications
You must be signed in to change notification settings - Fork 11
io microsphere alibaba sentinel common AbstractSentinelPlugin
Type: Class | Module: microsphere-alibaba-sentinel-commons | Package: io.microsphere.alibaba.sentinel.common | Since: 1.0.0
Abstract SentinelPlugin Sentinel Plugin class
public abstract class AbstractSentinelPlugin implements SentinelPluginAuthor: Mercy
-
Introduced in:
1.0.0 -
Current Project Version:
0.2.0-SNAPSHOT
This component is tested and compatible with the following Java versions:
| Java Version | Status |
|---|---|
| Java 17 | ✅ Compatible |
| Java 21 | ✅ Compatible |
| Java 25 | ✅ Compatible |
Add the following dependency to your pom.xml:
<dependency>
<groupId>io.github.microsphere-projects</groupId>
<artifactId>microsphere-alibaba-sentinel-commons</artifactId>
<version>${microsphere-alibaba-sentinel.version}</version>
</dependency>Tip: Use the BOM (
microsphere-alibaba-sentinel-dependencies) for consistent version management. See the Getting Started guide.
import io.microsphere.alibaba.sentinel.common.AbstractSentinelPlugin;| Method | Description |
|---|---|
enable |
Enable this SentinelPlugin Sentinel Plugin
|
disable |
Disable this SentinelPlugin Sentinel Plugin
|
isEnabled |
Is this SentinelPlugin Sentinel Plugin enabled ? |
setEnabled |
Set whether this SentinelPlugin Sentinel Plugin enabled or not |
getName |
Get the name of this SentinelPlugin Sentinel Plugin
|
getContextName |
Get the context name of this SentinelPlugin Sentinel Plugin
|
getOrigin |
Get the origin of this SentinelPlugin Sentinel Plugin
|
getResourceType |
Get the resource type of this SentinelPlugin Sentinel Plugin
|
getTrafficType |
Get the traffic type of this SentinelPlugin Sentinel Plugin
|
isAutoInstalled |
Is auto installed this SentinelPlugin Sentinel Plugin? |
public void disable()Disable this SentinelPlugin Sentinel Plugin
public boolean isEnabled()Is this SentinelPlugin Sentinel Plugin enabled ?
public void setEnabled(boolean enabled)Set whether this SentinelPlugin Sentinel Plugin enabled or not
public String getName()Get the name of this SentinelPlugin Sentinel Plugin
public String getContextName()Get the context name of this SentinelPlugin Sentinel Plugin
public String getOrigin()Get the origin of this SentinelPlugin Sentinel Plugin
public int getResourceType()Get the resource type of this SentinelPlugin Sentinel Plugin
public EntryType getTrafficType()Get the traffic type of this SentinelPlugin Sentinel Plugin
public boolean isAutoInstalled()Is auto installed this SentinelPlugin Sentinel Plugin?
SentinelPlugin
This documentation was auto-generated from the source code of microsphere-alibaba-sentinel.
alibaba-sentinel-commons
- AbstractSentinelPlugin
- JMXSentinelPluginRepository
- SentinelConstants
- SentinelContext
- SentinelOperations
- SentinelPlugin
- SentinelPluginRepository
- SentinelTemplate
- SentinelUtils
- SimpleSentinelPlugin
- SimpleSentinelPluginRepository
alibaba-sentinel-spring-boot
- ConditionalOnSentinelAvailable
- ConditionalOnSentinelEnabled
- SentinelAlibabaDruidAutoConfiguration
- SentinelMyBatisAutoConfiguration
- SentinelRedisAutoConfiguration
- SentinelSpringWebAutoConfiguration
alibaba-sentinel-spring-cloud