Tabnine Logo
LockingManager.release
Code IndexAdd Tabnine to your IDE (free)

How to use
release
method
in
org.geotools.data.LockingManager

Best Java code snippets using org.geotools.data.LockingManager.release (Showing top 13 results out of 315)

origin: geotools/geotools

if (lockManager == null) continue; // did not support locking
if (lockManager.release(lockID, transaction)) {
  release = true;
origin: geotools/geotools

  continue; // did not support locking
if (lockManager.release(lockID, transaction)) {
  refresh = true;
origin: geotools/geotools

public boolean release(String authID, Transaction transaction) throws IOException {
  List<DataStore> stores = cache.getDataStores();
  for (DataStore store : stores) {
    if ((store.getLockingManager() != null) && store.getLockingManager().exists(authID)) {
      return store.getLockingManager().release(authID, transaction);
    }
  }
  return false;
}
origin: org.geotools/gt2-main

if( lockManager == null ) continue; // did not support locking
if( lockManager.release( lockID, transaction )){
  refresh = true;    
origin: org.geotools/gt2-main

if( lockManager == null ) continue; // did not support locking
if( lockManager.release( lockID, transaction )){
  release = true;    
origin: org.geotools/gt-main

  continue; // did not support locking
if (lockManager.release(lockID, transaction)) {
  release = true;
origin: org.geotools/gt-main

  continue; // did not support locking
if (lockManager.release(lockID, transaction)) {
  refresh = true;
origin: org.geotools/gt2-main

if( lockManager == null ) continue; // did not support locking
if( lockManager.release( lockID, transaction )){
  release = true;    
origin: org.geotools/gt-directory

/**
 * @see org.geotools.data.LockingManager#release(java.lang.String,
 *      org.geotools.data.Transaction)
 */
public boolean release(String authID, Transaction transaction)
  throws IOException {
  Iterator i = dataStores.values().iterator();
  while (i.hasNext()) {
    AbstractFileDataStore afds = (AbstractFileDataStore) i.next();
    if ((afds.getLockingManager() != null)
        && afds.getLockingManager().exists(authID)) {
      return afds.getLockingManager().release(authID, transaction);
    }
  }
  return false;
}
origin: org.geotools/gt2-main

if( lockManager == null ) continue; // did not support locking
if( lockManager.release( lockID, transaction )){
  refresh = true;    
origin: org.geotools/gt-directory

public boolean release(String authID, Transaction transaction)
  throws IOException {
  List<DataStore> stores = cache.getDataStores();
  for (DataStore store : stores) {
    if ((store.getLockingManager() != null)
        && store.getLockingManager().exists(authID)) {
      return store.getLockingManager().release(authID, transaction);
    }
  }
  return false;
}
origin: org.geotools/gt-data

public boolean release(String authID, Transaction transaction)
  throws IOException {
  List<DataStore> stores = cache.getDataStores();
  for (DataStore store : stores) {
    if ((store.getLockingManager() != null)
        && store.getLockingManager().exists(authID)) {
      return store.getLockingManager().release(authID, transaction);
    }
  }
  return false;
}
origin: org.geoserver/gs-wfs

t.addAuthorization(lockId);
if (lockingManager.release(lockId, t)) {
  refresh = true;
org.geotools.dataLockingManagerrelease

Javadoc

Release locks held by the authorization lockID.

(remember that the lock may have expired)

Popular methods of LockingManager

  • lockFeatureID
    FeatureID based locking.
  • unLockFeatureID
    FeatureID based unlocking.
  • exists
    Check if any locks exist held by the authorization lockID. (remember that the lock may have expired)
  • refresh
    Refresh locks held by the authorization lockID. All features locked with the provied lockID will be

Popular in Java

  • Making http post requests using okhttp
  • getResourceAsStream (ClassLoader)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getApplicationContext (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • ImageIO (javax.imageio)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now