Uses of Enum Class
cloud.opencode.base.cache.event.CacheEvent.EventType
Packages that use CacheEvent.EventType
-
Uses of CacheEvent.EventType in cloud.opencode.base.cache.event
Subclasses with type arguments of type CacheEvent.EventType in cloud.opencode.base.cache.eventMethods in cloud.opencode.base.cache.event that return CacheEvent.EventTypeModifier and TypeMethodDescriptionCacheEvent.type()Returns the value of thetyperecord component.static CacheEvent.EventTypeReturns the enum constant of this class with the specified name.static CacheEvent.EventType[]CacheEvent.EventType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in cloud.opencode.base.cache.event that return types with arguments of type CacheEvent.EventTypeModifier and TypeMethodDescriptiondefault Set<CacheEvent.EventType> CacheEventListener.interestedEventTypes()Get event types this listener is interested in (default: all) 获取此监听器感兴趣的事件类型(默认:全部)Methods in cloud.opencode.base.cache.event with parameters of type CacheEvent.EventTypeModifier and TypeMethodDescriptionbooleanCacheEventDispatcher.hasListenersFor(CacheEvent.EventType eventType) Check if any listener is interested in the event type (V2.0.4) 检查是否有任何监听器对事件类型感兴趣default booleanCacheEventListener.isInterestedIn(CacheEvent.EventType type) Check if listener is interested in event type 检查监听器是否对事件类型感兴趣Method parameters in cloud.opencode.base.cache.event with type arguments of type CacheEvent.EventTypeModifier and TypeMethodDescriptionstatic <K,V> CacheEventListener <K, V> CacheEventListener.forTypes(Set<CacheEvent.EventType> types, Consumer<CacheEvent<K, V>> consumer) Create listener for specific event types 为特定事件类型创建监听器Constructors in cloud.opencode.base.cache.event with parameters of type CacheEvent.EventTypeModifierConstructorDescriptionCacheEvent(CacheEvent.EventType type, String cacheName, K key, V value, V oldValue, RemovalCause removalCause, boolean isHit, Instant timestamp) Creates an instance of aCacheEventrecord class.