Class SelectionCacheLifecycleBridge
- java.lang.Object
-
- org.optaplanner.core.impl.heuristic.selector.common.SelectionCacheLifecycleBridge
-
- All Implemented Interfaces:
EventListener,PhaseLifecycleListener,SolverLifecycleListener
public class SelectionCacheLifecycleBridge extends Object implements PhaseLifecycleListener
-
-
Field Summary
Fields Modifier and Type Field Description protected SelectionCacheTypecacheTypeprotected SelectionCacheLifecycleListenerselectionCacheLifecycleListener
-
Constructor Summary
Constructors Constructor Description SelectionCacheLifecycleBridge(SelectionCacheType cacheType, SelectionCacheLifecycleListener selectionCacheLifecycleListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidphaseEnded(AbstractPhaseScope phaseScope)voidphaseStarted(AbstractPhaseScope phaseScope)voidsolvingEnded(DefaultSolverScope solverScope)voidsolvingStarted(DefaultSolverScope solverScope)voidstepEnded(AbstractStepScope stepScope)voidstepStarted(AbstractStepScope stepScope)StringtoString()
-
-
-
Field Detail
-
cacheType
protected final SelectionCacheType cacheType
-
selectionCacheLifecycleListener
protected final SelectionCacheLifecycleListener selectionCacheLifecycleListener
-
-
Constructor Detail
-
SelectionCacheLifecycleBridge
public SelectionCacheLifecycleBridge(SelectionCacheType cacheType, SelectionCacheLifecycleListener selectionCacheLifecycleListener)
-
-
Method Detail
-
solvingStarted
public void solvingStarted(DefaultSolverScope solverScope)
- Specified by:
solvingStartedin interfaceSolverLifecycleListener
-
phaseStarted
public void phaseStarted(AbstractPhaseScope phaseScope)
- Specified by:
phaseStartedin interfacePhaseLifecycleListener
-
stepStarted
public void stepStarted(AbstractStepScope stepScope)
- Specified by:
stepStartedin interfacePhaseLifecycleListener
-
stepEnded
public void stepEnded(AbstractStepScope stepScope)
- Specified by:
stepEndedin interfacePhaseLifecycleListener
-
phaseEnded
public void phaseEnded(AbstractPhaseScope phaseScope)
- Specified by:
phaseEndedin interfacePhaseLifecycleListener
-
solvingEnded
public void solvingEnded(DefaultSolverScope solverScope)
- Specified by:
solvingEndedin interfaceSolverLifecycleListener
-
-