Class FileChannelStrategy
java.lang.Object
org.tasktide.mutex.strategy.MutexStrategy
org.tasktide.mutex.strategy.FileChannelStrategy
Class specializing in applying, and releasing
FileChannelActor-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanApplyFileChannelActorbooleanClean up providedMutexbooleanReleaseFileChannelActorMethods inherited from class MutexStrategy
getStrategyType, inferLeader, inferPosition, queueSize
-
Constructor Details
-
FileChannelStrategy
public FileChannelStrategy()Constructs strategy for implementingFileChannelActor
-
-
Method Details
-
apply
ApplyFileChannelActor- Specified by:
applyin classMutexStrategy- Parameters:
mutex-- Returns:
- boolean
-
release
ReleaseFileChannelActor- Specified by:
releasein classMutexStrategy- Parameters:
mutex-- Returns:
- boolean
-
cleanUp
Description copied from class:MutexStrategyClean up providedMutex- Specified by:
cleanUpin classMutexStrategy- Parameters:
mutex-- Returns:
- boolean
-