public class PartitionQueue<Solution_> extends Object implements Iterable<PartitionChangeMove>
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
Constructor and Description |
---|
PartitionQueue(int partCount) |
Modifier and Type | Method and Description |
---|---|
void |
addExceptionThrown(int partIndex,
Throwable throwable)
This method is thread-safe.
|
void |
addFinish(int partIndex)
This method is thread-safe.
|
void |
addMove(int partIndex,
PartitionChangeMove<Solution_> move)
This method is thread-safe.
|
Iterator<PartitionChangeMove> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public void addMove(int partIndex, PartitionChangeMove<Solution_> move)
partIndex
- 0 <= partIndex < partCount
move
- never nullpublic void addFinish(int partIndex)
partIndex
- 0 <= partIndex < partCount
public void addExceptionThrown(int partIndex, Throwable throwable)
partIndex
- 0 <= partIndex < partCount
throwable
- never nullpublic Iterator<PartitionChangeMove> iterator()
iterator
in interface Iterable<PartitionChangeMove>
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.