Package org.apache.derby.iapi.services.cache

Examples of org.apache.derby.iapi.services.cache.CacheManager.release()


        throw se;
    }
    finally
    {
      if (otherCacheEntry != null)
        otherCache.release(otherCacheEntry);
    }
  }
 

  /** @see DataDictionary#dropStatisticsDescriptors */
 
View Full Code Here


        // in garbage collection as it may deadlock with the open connection and
        // the context manager assumes a singel current thread per context stack
      }
    }

    statementCache.release(cachedItem);
    return ps;
  }

  /**
    Get a connection unique system generated name for a cursor.
View Full Code Here

                // GenericStatement.preparedStmt.compilingStatement) to ensure
                // that we're the only ones calling CacheManager.remove() on
                // this statement. Therefore, just release the statement here
                // so that we don't get in the way for the other thread that
                // is trying to compile the same query.
                statementCache.release(cachedItem);
            } else {
                // The statement object that we were trying to compile is still
                // in the cache. Since the compilation failed, remove it.
                statementCache.remove(cachedItem);
            }
View Full Code Here

                // in garbage collection as it may deadlock with the open connection and
                // the context manager assumes a singel current thread per context stack
            }
        }

        statementCache.release(cachedItem);
        return ps;
    }

    /**
        Get a connection unique system generated name for a cursor.
View Full Code Here

        throw se;
    }
    finally
    {
      if (otherCacheEntry != null)
        otherCache.release(otherCacheEntry);
    }
  }
 

  /** @see DataDictionary#dropStatisticsDescriptors */
 
View Full Code Here

        throw se;
    }
    finally
    {
      if (otherCacheEntry != null)
        otherCache.release(otherCacheEntry);
    }
  }
 

  /** @see DataDictionary#dropStatisticsDescriptors */
 
View Full Code Here

        // in garbage collection as it may deadlock with the open connection and
        // the context manager assumes a singel current thread per context stack
      }
    }

    statementCache.release(cachedItem);
    return ps;
  }

  /**
    Get a connection unique system generated name for a cursor.
View Full Code Here

        throw se;
    }
    finally
    {
      if (otherCacheEntry != null)
        otherCache.release(otherCacheEntry);
    }
  }
 

  /** @see DataDictionary#dropStatisticsDescriptors */
 
View Full Code Here

        throw se;
    }
    finally
    {
      if (otherCacheEntry != null)
        otherCache.release(otherCacheEntry);
    }
  }
 

  /** @see DataDictionary#dropStatisticsDescriptors */
 
View Full Code Here

                // GenericStatement.preparedStmt.compilingStatement) to ensure
                // that we're the only ones calling CacheManager.remove() on
                // this statement. Therefore, just release the statement here
                // so that we don't get in the way for the other thread that
                // is trying to compile the same query.
                statementCache.release(cachedItem);
            } else {
                // The statement object that we were trying to compile is still
                // in the cache. Since the compilation failed, remove it.
                statementCache.remove(cachedItem);
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.