Class PermanentlyDeletedWhileProcessingConcurrentStateChange
- java.lang.Object
-
- cn.boboweike.carrot.server.concurrent.statechanges.AbstractAllowedConcurrentStateChange
-
- cn.boboweike.carrot.server.concurrent.statechanges.PermanentlyDeletedWhileProcessingConcurrentStateChange
-
- All Implemented Interfaces:
AllowedConcurrentStateChange
public class PermanentlyDeletedWhileProcessingConcurrentStateChange extends AbstractAllowedConcurrentStateChange
-
-
Constructor Summary
Constructors Constructor Description PermanentlyDeletedWhileProcessingConcurrentStateChange(TaskZooKeeper taskZooKeeper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatches(StateName localState, StateName storageProviderState)booleanmatches(Task localTask, Task storageProviderTask)ConcurrentTaskModificationResolveResultresolve(Task localTask, Task storageProviderTask)
-
-
-
Constructor Detail
-
PermanentlyDeletedWhileProcessingConcurrentStateChange
public PermanentlyDeletedWhileProcessingConcurrentStateChange(TaskZooKeeper taskZooKeeper)
-
-
Method Detail
-
matches
public boolean matches(StateName localState, StateName storageProviderState)
- Specified by:
matchesin interfaceAllowedConcurrentStateChange- Overrides:
matchesin classAbstractAllowedConcurrentStateChange
-
resolve
public ConcurrentTaskModificationResolveResult resolve(Task localTask, Task storageProviderTask)
- Specified by:
resolvein interfaceAllowedConcurrentStateChange- Overrides:
resolvein classAbstractAllowedConcurrentStateChange
-
-