Class WhileLockedProcessor
java.lang.Object
org.springframework.integration.util.WhileLockedProcessor
A simple strategy callback class that allows you to provide
 a code that needs to be executed under 
Lock provided by
 LockRegistry.
 A typical usage would be to provide implementation of whileLocked() method and
 then call doWhileLocked().- Since:
- 2.2
- Author:
- Oleg Zhurakousky
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal voidprotected abstract voidOverride this method to provide the behavior that needs to be executed while under the lock.
- 
Constructor Details- 
WhileLockedProcessor
 
- 
- 
Method Details- 
doWhileLocked- Throws:
- IOException
 
- 
whileLockedOverride this method to provide the behavior that needs to be executed while under the lock.- Throws:
- IOException- Any IOException.
 
 
-