S - the service typepublic class RefreshingServiceLocator<S extends eu.dnetlib.api.DriverService> extends Object implements ServiceLocator<S>
| Constructor and Description |
|---|
RefreshingServiceLocator() |
| Modifier and Type | Method and Description |
|---|---|
ScheduledExecutorService |
getExecutor() |
ServiceLocator<S> |
getLocator() |
long |
getPeriod() |
S |
getService() |
void |
setExecutor(ScheduledExecutorService executor) |
void |
setLocator(ServiceLocator<S> locator) |
void |
setPeriod(long period) |
public S getService()
getService in interface ServiceLocator<S extends eu.dnetlib.api.DriverService>public ServiceLocator<S> getLocator()
public void setLocator(ServiceLocator<S> locator)
public ScheduledExecutorService getExecutor()
public void setExecutor(ScheduledExecutorService executor)
public long getPeriod()
public void setPeriod(long period)
Copyright © 2019. All rights reserved.