public class ChunkerInterleaved extends AbstractChunker
ChunkerOp
that interleaves the chunks. In a
element enumeration from 1..n with k Chunk
s the
first one will process the elements 1, k+1, 2k+1, ... the second chunk
executable 2, k+2, 2k+2 and so on.Modifier and Type | Field and Description |
---|---|
LogService |
logService |
chunkable, numberOfElements, threadService
NAME
Constructor and Description |
---|
ChunkerInterleaved() |
Modifier and Type | Method and Description |
---|---|
String |
getCancelReason() |
boolean |
isCanceled() |
void |
run() |
cancel, setChunk, setNumberOfElements
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
public LogService logService
public void run()
public boolean isCanceled()
isCanceled
in interface Cancelable
isCanceled
in class AbstractChunker
public String getCancelReason()
getCancelReason
in interface Cancelable
getCancelReason
in class AbstractChunker
Copyright © 2014–2022 ImageJ. All rights reserved.