org.geotools.data
Class DefaultFeatureLockFactory

Object
  extended by FeatureLockFactory
      extended by DefaultFeatureLockFactory
All Implemented Interfaces:
Factory

Deprecated. Please use FeatureLock directly

public class DefaultFeatureLockFactory
extends FeatureLockFactory

Default implementation of the FeatureLockFactory. Generates id numbers.

Author:
Jody Garnett, Refractions Research, Inc., Chris Holmes, TOPP.
TODO:
REVISIT: Should more of this code move to the parent? I guess if other implementations came along they may want to implement differently., REVISIT: The generation code can move to the parent. Even if other implementations come along we do not want the to implement the generation differently.

Constructor Summary
DefaultFeatureLockFactory()
          Deprecated.  
 
Method Summary
protected  FeatureLock createLock(String name, long duration)
          Deprecated.  
 
Methods inherited from class FeatureLockFactory
generate, generate, getImplementationHints, getInstance
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFeatureLockFactory

public DefaultFeatureLockFactory()
Deprecated. 
Method Detail

createLock

protected FeatureLock createLock(String name,
                                 long duration)
Deprecated. 
Specified by:
createLock in class FeatureLockFactory


Copyright © 1996-2014 Geotools. All Rights Reserved.