com.atlassian.jira.service
Class DefaultServiceManager.ServiceScheduleSkipperImpl
java.lang.Object
com.atlassian.jira.service.DefaultServiceManager.ServiceScheduleSkipperImpl
- All Implemented Interfaces:
- ServiceManager.ServiceScheduleSkipper
- Enclosing class:
- DefaultServiceManager
protected static class DefaultServiceManager.ServiceScheduleSkipperImpl
- extends Object
- implements ServiceManager.ServiceScheduleSkipper
Implementation of ServiceScheduleSkipper that has synchronized access.
- Since:
- v3.10
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultServiceManager.ServiceScheduleSkipperImpl
protected DefaultServiceManager.ServiceScheduleSkipperImpl()
addService
public boolean addService(Long serviceId)
- Description copied from interface:
ServiceManager.ServiceScheduleSkipper
- Adds a service with a given id to this skipper
- Specified by:
addService
in interface ServiceManager.ServiceScheduleSkipper
- Parameters:
serviceId
- service id
- Returns:
- true if service was not in this skipper already, false otherwise
awaitServiceRun
public void awaitServiceRun(Long serviceId)
throws InterruptedException
- Description copied from interface:
ServiceManager.ServiceScheduleSkipper
- Await this service being run.
- Specified by:
awaitServiceRun
in interface ServiceManager.ServiceScheduleSkipper
- Parameters:
serviceId
- Service ID
- Throws:
InterruptedException
- if the current thread was interrupted while waiting
Copyright © 2002-2013 Atlassian. All Rights Reserved.