net.sf.dropboxmq.dropboxsupport
Class Locks

java.lang.Object
  extended by net.sf.dropboxmq.dropboxsupport.Locks

public class Locks
extends Object

Created: 15 Oct 2008

Version:
$Revision: 208 $, $Date: 2010-11-13 13:05:42 -0700 (Sat, 13 Nov 2010) $
Author:
Dwayne Schultz

Constructor Summary
Locks(DirectoryStructure structure, String destinationName, Configuration configuration)
           
 
Method Summary
 void checkWriteLock(long startTime)
           
(package private)  long getLongProperty(Properties properties, String key, long defaultValue)
           
 boolean isReadLocked()
           
(package private)  void readWriteLockProperties()
           
protected  String toObjectString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Locks

public Locks(DirectoryStructure structure,
             String destinationName,
             Configuration configuration)
Method Detail

isReadLocked

public boolean isReadLocked()

checkWriteLock

public void checkWriteLock(long startTime)

readWriteLockProperties

void readWriteLockProperties()

getLongProperty

long getLongProperty(Properties properties,
                     String key,
                     long defaultValue)

toObjectString

protected final String toObjectString()