public abstract class ConcurrentSamples<I>
extends java.lang.Object
Constructor and Description |
---|
ConcurrentSamples(int numberOfThreads,
int numberOfSamples,
int firstSampleNumber,
org.processmining.framework.plugin.ProMCanceller canceller) |
ConcurrentSamples(int numberOfThreads,
int numberOfSamples,
org.processmining.framework.plugin.ProMCanceller canceller) |
Modifier and Type | Method and Description |
---|---|
protected abstract I |
createThreadConstants(int threadNumber)
Called once per thread.
|
boolean |
isError() |
protected abstract boolean |
performSample(I input,
int sampleNumber,
org.processmining.framework.plugin.ProMCanceller canceller) |
public ConcurrentSamples(int numberOfThreads, int numberOfSamples, org.processmining.framework.plugin.ProMCanceller canceller) throws java.lang.InterruptedException
java.lang.InterruptedException
public ConcurrentSamples(int numberOfThreads, int numberOfSamples, int firstSampleNumber, org.processmining.framework.plugin.ProMCanceller canceller) throws java.lang.InterruptedException
java.lang.InterruptedException
protected abstract I createThreadConstants(int threadNumber)
protected abstract boolean performSample(I input, int sampleNumber, org.processmining.framework.plugin.ProMCanceller canceller)
input
- sampleNumber
- public boolean isError()