railo.commons.io.res.util
Class ResourceLockImpl
java.lang.Object
railo.commons.io.res.util.ResourceLockImpl
- All Implemented Interfaces:
- Serializable, ResourceLock
public final class ResourceLockImpl
- extends Object
- implements ResourceLock
- See Also:
- Serialized Form
ResourceLockImpl
public ResourceLockImpl(long timeout,
boolean caseSensitive)
lock
public void lock(Resource res)
- Specified by:
lock
in interface ResourceLock
- See Also:
ResourceLock.lock(railo.commons.io.res.Resource)
unlock
public void unlock(Resource res)
- Specified by:
unlock
in interface ResourceLock
- See Also:
ResourceLock.unlock(railo.commons.io.res.Resource)
read
public void read(Resource res)
- Specified by:
read
in interface ResourceLock
- See Also:
ResourceLock.read(railo.commons.io.res.Resource)
getLockTimeout
public long getLockTimeout()
- Specified by:
getLockTimeout
in interface ResourceLock
- See Also:
ResourceLock.getLockTimeout()
setLockTimeout
public void setLockTimeout(long lockTimeout)
- Specified by:
setLockTimeout
in interface ResourceLock
- Parameters:
lockTimeout
- the lockTimeout to set
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)
- Parameters:
caseSensitive
- the caseSensitive to set
Copyright © 2012 Railo