Class PermanentlyDeletedWhileProcessingConcurrentStateChange
java.lang.Object
org.jobrunr.server.concurrent.statechanges.AbstractAllowedConcurrentStateChange
org.jobrunr.server.concurrent.statechanges.PermanentlyDeletedWhileProcessingConcurrentStateChange
- All Implemented Interfaces:
AllowedConcurrentStateChange
public class PermanentlyDeletedWhileProcessingConcurrentStateChange
extends AbstractAllowedConcurrentStateChange
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Returns true of the currentAllowedConcurrentStateChange
can resolve the concurrent modified jobs.
-
Constructor Details
-
PermanentlyDeletedWhileProcessingConcurrentStateChange
-
-
Method Details
-
matches
-
matches
Description copied from class:AbstractAllowedConcurrentStateChange
Returns true of the currentAllowedConcurrentStateChange
can resolve the concurrent modified jobs.- Specified by:
matches
in interfaceAllowedConcurrentStateChange
- Overrides:
matches
in 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
AllowedConcurrentStateChange
can resolve the concurrent state change, false otherwise.
-
resolve
- Specified by:
resolve
in interfaceAllowedConcurrentStateChange
- Overrides:
resolve
in classAbstractAllowedConcurrentStateChange
-