Class SucceededWhileAnyOtherConcurrentStateChange
java.lang.Object
org.jobrunr.server.concurrent.statechanges.AbstractAllowedConcurrentStateChange
org.jobrunr.server.concurrent.statechanges.SucceededWhileAnyOtherConcurrentStateChange
- All Implemented Interfaces:
AllowedConcurrentStateChange
public class SucceededWhileAnyOtherConcurrentStateChange
extends AbstractAllowedConcurrentStateChange
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true of the currentAllowedConcurrentStateChangecan resolve the concurrent modified jobs.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AllowedConcurrentStateChange
matches
-
Constructor Details
-
SucceededWhileAnyOtherConcurrentStateChange
-
-
Method Details
-
matches
Description copied from class:AbstractAllowedConcurrentStateChangeReturns true of the currentAllowedConcurrentStateChangecan resolve the concurrent modified jobs.- Specified by:
matchesin interfaceAllowedConcurrentStateChange- Overrides:
matchesin classAbstractAllowedConcurrentStateChange- Parameters:
localState- the local state to match or null to match all local statesstorageProviderState- the storage provider state to match. May not be null.- Returns:
- true if this
AllowedConcurrentStateChangecan resolve the concurrent state change, false otherwise.
-
resolve
- Specified by:
resolvein interfaceAllowedConcurrentStateChange- Overrides:
resolvein classAbstractAllowedConcurrentStateChange
-