Solution_ - the solution type, the class with the PlanningSolution annotationpublic class PartitionQueue<Solution_> extends Object implements Iterable<PartitionChangeMove<Solution_>>
| 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<Solution_>> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic void addMove(int partIndex,
PartitionChangeMove<Solution_> move)
partIndex - 0 <= partIndex < partCountmove - never nullpublic void addFinish(int partIndex)
partIndex - 0 <= partIndex < partCountpublic void addExceptionThrown(int partIndex,
Throwable throwable)
partIndex - 0 <= partIndex < partCountthrowable - never nullpublic Iterator<PartitionChangeMove<Solution_>> iterator()
iterator in interface Iterable<PartitionChangeMove<Solution_>>Copyright © 2006–2017 JBoss by Red Hat. All rights reserved.