Interface PersistentQueryControllerClientFactory
- All Known Implementing Classes:
ControllerClientFactory
public interface PersistentQueryControllerClientFactory
A minimalistic interface that allows to get a controller client, either subscribed or not. Implemented by
ControllerClientFactory. Separating the interface allows us to pull fewer dependencies.
-
Method Summary
Modifier and TypeMethodDescriptionGet a subscribed controller client.Get a (possibly) unsubscribed controller client.
-
Method Details
-
getUnsubscribed
PersistentQueryControllerClient getUnsubscribed()Get a (possibly) unsubscribed controller client. Possibly since if there is an existing client and is already subscribed, that may be returned. If we end up creating a new client, then we won't necessarily subscribe it.- Returns:
- a controller client
-
getSubscribed
PersistentQueryControllerClient getSubscribed()Get a subscribed controller client.- Returns:
- a controller client
-