Class SubscriptionRegistry
java.lang.Object
ca.uhn.fhir.jpa.subscription.match.registry.SubscriptionRegistry
Cache of active subscriptions. When a new subscription is added to the cache, a new Spring Channel is created
and a new MessageHandler for that subscription is subscribed to that channel. These subscriptions, channels, and
handlers are all caches in this registry so they can be removed it the subscription is deleted.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAll()
getTopicSubscriptionsByTopic
(String theTopic) boolean
registerSubscriptionUnlessAlreadyRegistered
(org.hl7.fhir.instance.model.api.IBaseResource theSubscription) int
size()
void
void
unregisterSubscriptionIfRegistered
(String theSubscriptionId)
-
Constructor Details
-
SubscriptionRegistry
public SubscriptionRegistry()Constructor
-
-
Method Details
-
get
-
getAll
-
getTopicSubscriptionsByTopic
-
unregisterSubscriptionIfRegistered
-
unregisterAllSubscriptions
-
registerSubscriptionUnlessAlreadyRegistered
public boolean registerSubscriptionUnlessAlreadyRegistered(org.hl7.fhir.instance.model.api.IBaseResource theSubscription) -
size
-
getAllNonTopicSubscriptions
-