public abstract class AbstractSelector extends Object implements Selector
Selector
.Selector
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
protected SolverPhaseLifecycleSupport |
solverPhaseLifecycleSupport |
protected Random |
workingRandom |
Constructor and Description |
---|
AbstractSelector() |
Modifier and Type | Method and Description |
---|---|
SelectionCacheType |
getCacheType()
Unless this selector itself caches, this returns
SelectionCacheType.JUST_IN_TIME ,
even if a selector child caches. |
void |
phaseEnded(AbstractSolverPhaseScope phaseScope) |
void |
phaseStarted(AbstractSolverPhaseScope phaseScope) |
void |
solvingEnded(DefaultSolverScope solverScope) |
void |
solvingStarted(DefaultSolverScope solverScope) |
void |
stepEnded(AbstractStepScope stepScope) |
void |
stepStarted(AbstractStepScope stepScope) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isContinuous, isNeverEnding
protected final transient org.slf4j.Logger logger
protected SolverPhaseLifecycleSupport solverPhaseLifecycleSupport
protected Random workingRandom
public void solvingStarted(DefaultSolverScope solverScope)
solvingStarted
in interface SolverLifecycleListener
public void phaseStarted(AbstractSolverPhaseScope phaseScope)
phaseStarted
in interface SolverPhaseLifecycleListener
public void stepStarted(AbstractStepScope stepScope)
stepStarted
in interface SolverPhaseLifecycleListener
public void stepEnded(AbstractStepScope stepScope)
stepEnded
in interface SolverPhaseLifecycleListener
public void phaseEnded(AbstractSolverPhaseScope phaseScope)
phaseEnded
in interface SolverPhaseLifecycleListener
public void solvingEnded(DefaultSolverScope solverScope)
solvingEnded
in interface SolverLifecycleListener
public SelectionCacheType getCacheType()
Selector
SelectionCacheType.JUST_IN_TIME
,
even if a selector child caches.getCacheType
in interface Selector
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.