类 TrieEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.apache.shenyu.plugin.base.event.TrieEvent
- 所有已实现的接口:
Serializable
public class TrieEvent
extends org.springframework.context.ApplicationEvent
Rule trie event.
- 另请参阅:
-
字段概要
从类继承的字段 java.util.EventObject
source -
构造器概要
构造器构造器说明TrieEvent(org.apache.shenyu.common.enums.TrieEventEnum trieEventEnum, org.apache.shenyu.common.enums.TrieCacheTypeEnum trieCacheTypeEnum, T source) shenyu trie event. -
方法概要
修饰符和类型方法说明org.apache.shenyu.common.enums.TrieCacheTypeEnumget trie cache type.org.apache.shenyu.common.enums.TrieEventEnumget rule trie build or remove event.从类继承的方法 org.springframework.context.ApplicationEvent
getTimestamp从类继承的方法 java.util.EventObject
getSource, toString
-
构造器详细资料
-
TrieEvent
public TrieEvent(org.apache.shenyu.common.enums.TrieEventEnum trieEventEnum, org.apache.shenyu.common.enums.TrieCacheTypeEnum trieCacheTypeEnum, T source) shenyu trie event.- 参数:
trieEventEnum- ruleTrieEventEnumtrieCacheTypeEnum- trie cache typesource- data
-
-
方法详细资料
-
getTrieEventEnum
public org.apache.shenyu.common.enums.TrieEventEnum getTrieEventEnum()get rule trie build or remove event.- 返回:
- TrieEventEnum include insert and remove event
-
getTrieCacheTypeEnum
public org.apache.shenyu.common.enums.TrieCacheTypeEnum getTrieCacheTypeEnum()get trie cache type.- 返回:
- TrieCacheTypeEnum
-