com.im.commons 5.9

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.


Field Summary
 
Fields inherited from interface com.im.commons.progress.DFEnvironmentRO
DEV_NULL
 
Method Summary
 DFLock getLock()
          Lock for the write operation
 
Methods inherited from interface com.im.commons.progress.DFEnvironmentRO
getFeedback
 

Method Detail

getLock

DFLock getLock()
Lock for the write operation

Returns:
The lock

com.im.commons 5.9