com.atlassian.bamboo.v2.build.queue.queues
Class OffloadingQueueOfExecutables

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.queue.queues.AbstractQueueOfExecutables
      extended by com.atlassian.bamboo.v2.build.queue.queues.OffloadingQueueOfExecutables
All Implemented Interfaces:
QueueOfExecutables

public class OffloadingQueueOfExecutables
extends AbstractQueueOfExecutables

A simple executables queue that stores common contexts as soft references and can retrieve them for the disk if needed.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.bamboo.v2.build.queue.QueueOfExecutables
QueueOfExecutables.ExecutableData
 
Constructor Summary
OffloadingQueueOfExecutables(com.google.common.base.Function<CommonContext,com.google.common.base.Optional<java.util.Collection<BuildAgent>>> executorCalculator, CommonContextPersister commonContextPersister)
           
 
Method Summary
 
Methods inherited from class com.atlassian.bamboo.v2.build.queue.queues.AbstractQueueOfExecutables
enqueue, executablesForAgent, get, inflight, recalculateExecutors, recalculateExecutors, remove, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OffloadingQueueOfExecutables

public OffloadingQueueOfExecutables(com.google.common.base.Function<CommonContext,com.google.common.base.Optional<java.util.Collection<BuildAgent>>> executorCalculator,
                                    CommonContextPersister commonContextPersister)


Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.