public class UrlChangesCollector extends Object
PingManager.inventory and synchronizes the various threads
reporting the new URLs and those ones consuming them.| Constructor and Description |
|---|
UrlChangesCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Set<PingDestination> destinations)
Applies the
UrlChanges collected by this UrlChangesCollector to the given Set of
PingDestinations - i.e. |
rx.functions.Action1<org.hawkular.inventory.api.model.Resource> |
getUrlCreatedAction()
Returns a callback for the
Inventory that collects newly added URLs. |
rx.functions.Action1<org.hawkular.inventory.api.model.Resource> |
getUrlDeletedAction()
Returns a callback for the
Inventory that collects URL removals. |
public void apply(Set<PingDestination> destinations)
UrlChanges collected by this UrlChangesCollector to the given Set of
PingDestinations - i.e. PingDestinations are either added or removed to/from the Set.destinations - the Set of PingDestinations that the changes should be applied to.public rx.functions.Action1<org.hawkular.inventory.api.model.Resource> getUrlCreatedAction()
Inventory that collects newly added URLs.public rx.functions.Action1<org.hawkular.inventory.api.model.Resource> getUrlDeletedAction()
Inventory that collects URL removals.Copyright © 2015–2016 Red Hat. All rights reserved.