public class GlobalQueryServiceRegistry extends ServiceRegistry
ServiceRegistry.UnlimitedIntermediateDelegationResultListener<E>| Modifier and Type | Field and Description | 
|---|---|
| protected long | delayThe global query delay. | 
| protected java.util.Timer | timerThe timer. | 
excluded, excludedservices, listeners, queries, searchfunc, services| Constructor and Description | 
|---|
| GlobalQueryServiceRegistry(long delay)Create a new GlobalQueryServiceRegistry. | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> ISubscriptionIntermediateFuture<T> | addQuery(ServiceQuery<T> query)Add a service query to the registry. | 
| protected void | waitForDelay(long delay,
            java.lang.Runnable run)Wait for delay and execute runnable. | 
addEventListener, addExcludedComponent, addService, getQueries, getRegistry, getRegistry, getService, getServiceMap, getServices, getSubregistry, isIncluded, notifyListeners, removeEventListener, removeExcludedComponent, removeQueries, removeQuery, removeService, removeSubregistry, searchGlobalService, searchGlobalServices, searchRemoteService, searchRemoteServices, searchService, searchService, searchService, searchService, searchServices, searchServices, searchServicesprotected java.util.Timer timer
protected long delay
public GlobalQueryServiceRegistry(long delay)
public <T> ISubscriptionIntermediateFuture<T> addQuery(ServiceQuery<T> query)
addQuery in interface IServiceRegistryaddQuery in class ServiceRegistryquery - ServiceQuery.protected void waitForDelay(long delay,
                            java.lang.Runnable run)