hudson.model.queue
Class MappingWorksheet.ExecutorChunk

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by hudson.model.queue.MappingWorksheet.ExecutorChunk
All Implemented Interfaces:
Iterable<MappingWorksheet.ExecutorSlot>, Collection<MappingWorksheet.ExecutorSlot>, List<MappingWorksheet.ExecutorSlot>
Enclosing class:
MappingWorksheet

public final class MappingWorksheet.ExecutorChunk
extends AbstractList<E>


Field Summary
 Computer computer
           
 int index
           
 Node node
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Method Summary
 boolean canAccept(MappingWorksheet.WorkChunk c)
          Is this executor chunk and the given work chunk compatible? Can the latter be run on the former?
 int capacity()
          Number of executors in this chunk.
 String getName()
          Node name.
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Field Detail

index

public final int index

computer

public final Computer computer

node

public final Node node
Method Detail

canAccept

public boolean canAccept(MappingWorksheet.WorkChunk c)
Is this executor chunk and the given work chunk compatible? Can the latter be run on the former?


getName

public String getName()
Node name.


capacity

public int capacity()
Number of executors in this chunk. Alias for size but more readable.



Copyright © 2004-2013. All Rights Reserved.