com.im.commons.progress
Interface DFEnvironmentRW
- All Superinterfaces:
- DFEnvironmentRO
public interface DFEnvironmentRW
- extends DFEnvironmentRO
An extension of DFEnvironmentRO class which provides environment for read-only
methods. This interface is adding method providing lock and so is used in write methods.
Through this method the DIF objects are checking if the caller has locked the object
before trying to do the changes.
Use com.im.commons.progress.EnvUtils factory class for creating default implementations.
getLock
DFLock getLock()
- Lock for the write operation
- Returns:
- The lock