Class DefaultInboundChannelModelCacheManager
- java.lang.Object
-
- org.flowable.eventregistry.impl.deployer.DefaultInboundChannelModelCacheManager
-
- All Implemented Interfaces:
InboundChannelModelCacheManager
public class DefaultInboundChannelModelCacheManager extends Object implements InboundChannelModelCacheManager
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classDefaultInboundChannelModelCacheManager.CacheKeyprotected static classDefaultInboundChannelModelCacheManager.CacheRegisteredChannelprotected static classDefaultInboundChannelModelCacheManager.CacheValueprotected classDefaultInboundChannelModelCacheManager.ChannelRegistrationImpl-
Nested classes/interfaces inherited from interface org.flowable.eventregistry.api.InboundChannelModelCacheManager
InboundChannelModelCacheManager.ChannelRegistration, InboundChannelModelCacheManager.RegisteredChannel
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<DefaultInboundChannelModelCacheManager.CacheKey,DefaultInboundChannelModelCacheManager.CacheValue>cacheprotected EventRegistryEngineConfigurationengineConfiguration
-
Constructor Summary
Constructors Constructor Description DefaultInboundChannelModelCacheManager(EventRegistryEngineConfiguration engineConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanChannelModels()InboundChannelModelCacheManager.RegisteredChannelfindRegisteredChannel(ChannelDefinition channelDefinition)Collection<InboundChannelModelCacheManager.RegisteredChannel>getRegisteredChannels()InboundChannelModelCacheManager.ChannelRegistrationregisterChannelModel(InboundChannelModel channelModel, ChannelDefinition channelDefinition)voidunregisterChannelModel(InboundChannelModel channelModel, ChannelDefinition channelDefinition)
-
-
-
Field Detail
-
engineConfiguration
protected final EventRegistryEngineConfiguration engineConfiguration
-
cache
protected final Map<DefaultInboundChannelModelCacheManager.CacheKey,DefaultInboundChannelModelCacheManager.CacheValue> cache
-
-
Constructor Detail
-
DefaultInboundChannelModelCacheManager
public DefaultInboundChannelModelCacheManager(EventRegistryEngineConfiguration engineConfiguration)
-
-
Method Detail
-
registerChannelModel
public InboundChannelModelCacheManager.ChannelRegistration registerChannelModel(InboundChannelModel channelModel, ChannelDefinition channelDefinition)
- Specified by:
registerChannelModelin interfaceInboundChannelModelCacheManager
-
unregisterChannelModel
public void unregisterChannelModel(InboundChannelModel channelModel, ChannelDefinition channelDefinition)
- Specified by:
unregisterChannelModelin interfaceInboundChannelModelCacheManager
-
cleanChannelModels
public void cleanChannelModels()
- Specified by:
cleanChannelModelsin interfaceInboundChannelModelCacheManager
-
findRegisteredChannel
public InboundChannelModelCacheManager.RegisteredChannel findRegisteredChannel(ChannelDefinition channelDefinition)
- Specified by:
findRegisteredChannelin interfaceInboundChannelModelCacheManager
-
getRegisteredChannels
public Collection<InboundChannelModelCacheManager.RegisteredChannel> getRegisteredChannels()
- Specified by:
getRegisteredChannelsin interfaceInboundChannelModelCacheManager
-
-