Package com.opencloud.sentinel.feature.spi.init
API for Sentinel feature dependency injection. Sentinel features declare their dependencies by implementing one or more of the interfaces defined in this package. The sentinel runtime calls methods defined in these interfaces as features are instantiated.
-
Interface Summary Interface Description InjectAddressListCollection Features implement this if they require the use of AddressListsInjectAddressListEntryReader<ExtendedListEntry extends com.opencloud.sentinel.feature.common.lists.AddressListEntry> Features implement this if they define a custom address list entry readerInjectFeatureConfigurationReader<Reader> Features implement this interface to use a configuration readerInjectFeatureLimiterFilterConditionAccess<MessageType> Features implement this interface if they need to manage limiter filter conditions.InjectFeatureStats<Stats extends SentinelFeatureStats> Features implement this interface if they have defined their own statistics interface that extends SentinelFeatureStatsInjectFsmBuilder<FSM> Features that are based on a POJO FSM, implement this to have access to an object they can use to get FSM instances.InjectMapperLibrary<MappingExecutionPoints extends java.lang.Enum<?>> Features implement this interface to use a Mapper LibraryInjectResourceAdaptorProvider Features implement this interface if they require the use of an RA providerInjectSentinelPlatformConfiguration Features implement this interface if they require access to platform level sentinel configuration