com.atlassian.aws.ec2
Class UpdateSchedulerImpl

java.lang.Object
  extended by com.atlassian.aws.ec2.UpdateSchedulerImpl
All Implemented Interfaces:
UpdateScheduler, Runnable

public class UpdateSchedulerImpl
extends Object
implements UpdateScheduler, Runnable

Schedules polling updates to EC2 in a controlled manner


Constructor Summary
UpdateSchedulerImpl(ScheduledExecutorService scheduledExecutorService)
           
 
Method Summary
 void addUpdateTask(Runnable runnable)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateSchedulerImpl

public UpdateSchedulerImpl(ScheduledExecutorService scheduledExecutorService)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

addUpdateTask

public void addUpdateTask(Runnable runnable)
Specified by:
addUpdateTask in interface UpdateScheduler


Copyright © 2015 Atlassian. All rights reserved.