public abstract class AbstractSelector extends Object implements Selector
Selector
.Selector
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
protected PhaseLifecycleSupport |
phaseLifecycleSupport |
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(AbstractPhaseScope phaseScope) |
void |
phaseStarted(AbstractPhaseScope 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
isCountable, isNeverEnding
protected final transient org.slf4j.Logger logger
protected PhaseLifecycleSupport phaseLifecycleSupport
protected Random workingRandom
public void solvingStarted(DefaultSolverScope solverScope)
solvingStarted
in interface SolverLifecycleListener
public void phaseStarted(AbstractPhaseScope phaseScope)
phaseStarted
in interface PhaseLifecycleListener
public void stepStarted(AbstractStepScope stepScope)
stepStarted
in interface PhaseLifecycleListener
public void stepEnded(AbstractStepScope stepScope)
stepEnded
in interface PhaseLifecycleListener
public void phaseEnded(AbstractPhaseScope phaseScope)
phaseEnded
in interface PhaseLifecycleListener
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–2020 JBoss by Red Hat. All rights reserved.