com.atlassian.jira.service
Interface ServiceManager.ServiceScheduleSkipper

All Known Implementing Classes:
DefaultServiceManager.ServiceScheduleSkipperImpl
Enclosing interface:
ServiceManager

public static interface ServiceManager.ServiceScheduleSkipper

This interface provides capability for other processes to request a service run.

Since:
v3.10

Method Summary
 boolean addService(Long serviceId)
          Adds a service with a given id to this skipper
 void awaitServiceRun(Long serviceId)
          Await this service being run.
 

Method Detail

addService

boolean addService(Long serviceId)
Adds a service with a given id to this skipper

Parameters:
serviceId - service id
Returns:
true if service was not in this skipper already, false otherwise

awaitServiceRun

void awaitServiceRun(Long serviceId)
                     throws InterruptedException
Await this service being run.

Parameters:
serviceId - Service ID
Throws:
InterruptedException - if the current thread was interrupted while waiting


Copyright © 2002-2012 Atlassian. All Rights Reserved.