public class WorkspaceQueryServiceImpl extends Object implements WorkspaceQueryService
| Modifier and Type | Field and Description |
|---|---|
static String |
JOB_IDENTITY |
| Constructor and Description |
|---|
WorkspaceQueryServiceImpl(QueryUpdateSubscriber queryUpdateSubscriber,
WorkspaceService workspaceService,
CatalogFramework catalogFramework,
FilterBuilder filterBuilder,
Supplier<Optional<org.quartz.Scheduler>> schedulerSupplier,
SecurityService securityService,
FilterService filterService) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
Integer |
getQueryTimeInterval() |
void |
run()
Main entry point, should be called by a scheduler.
|
void |
setCronString(String cronString) |
void |
setQueryTimeInterval(Integer queryTimeInterval) |
void |
setQueryTimeoutMinutes(Long queryTimeoutMinutes) |
void |
setSubject(Subject subject) |
public static final String JOB_IDENTITY
public WorkspaceQueryServiceImpl(QueryUpdateSubscriber queryUpdateSubscriber, WorkspaceService workspaceService, CatalogFramework catalogFramework, FilterBuilder filterBuilder, Supplier<Optional<org.quartz.Scheduler>> schedulerSupplier, SecurityService securityService, FilterService filterService) throws org.quartz.SchedulerException
queryUpdateSubscriber - must be non-nullworkspaceService - must be non-nullcatalogFramework - must be non-nullfilterBuilder - must be non-nullschedulerSupplier - must be non-nullsecurityService - must be non-nullfilterService - must be non-nullorg.quartz.SchedulerExceptionpublic Integer getQueryTimeInterval()
public void setQueryTimeInterval(Integer queryTimeInterval)
public void setCronString(String cronString)
cronString - cron string (must be non-null)public void setQueryTimeoutMinutes(Long queryTimeoutMinutes)
queryTimeoutMinutes - minutes (must be non-null)public void setSubject(Subject subject)
public void destroy()
public void run()
run in interface WorkspaceQueryServiceThis work is licensed under a Creative Commons Attribution 4.0 International License.