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
Constructors Constructor Description PermanentlyDeletedWhileProcessingConcurrentStateChange(JobZooKeeper jobZooKeeper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(Job localJob, Job storageProviderJob)
boolean
matches(StateName localState, StateName storageProviderState)
ConcurrentJobModificationResolveResult
resolve(Job localJob, Job storageProviderJob)
-
-
-
Constructor Detail
-
PermanentlyDeletedWhileProcessingConcurrentStateChange
public PermanentlyDeletedWhileProcessingConcurrentStateChange(JobZooKeeper jobZooKeeper)
-
-
Method Detail
-
matches
public boolean matches(StateName localState, StateName storageProviderState)
- Specified by:
matches
in interfaceAllowedConcurrentStateChange
- Overrides:
matches
in classAbstractAllowedConcurrentStateChange
-
resolve
public ConcurrentJobModificationResolveResult resolve(Job localJob, Job storageProviderJob)
- Specified by:
resolve
in interfaceAllowedConcurrentStateChange
- Overrides:
resolve
in classAbstractAllowedConcurrentStateChange
-
-