Tabnine Logo
HiveClientCache$CacheableHiveMetaStoreClient.release
Code IndexAdd Tabnine to your IDE (free)

How to use
release
method
in
org.apache.hive.hcatalog.common.HiveClientCache$CacheableHiveMetaStoreClient

Best Java code snippets using org.apache.hive.hcatalog.common.HiveClientCache$CacheableHiveMetaStoreClient.release (Showing top 5 results out of 315)

origin: org.spark-project.hive.hcatalog/hive-hcatalog-core

/**
 * Decrement the user count and piggyback this to set expiry flag as well, then  teardown(), if conditions are met.
 * This *MUST* be called by anyone who uses this client.
 */
@Override
public void close() {
 release();
 if (System.currentTimeMillis() >= expiryTime)
  setExpiredFromCache();
 tearDownIfUnused();
}
origin: com.github.hyukjinkwon.hcatalog/hive-hcatalog-core

/**
 * Decrement the user count and piggyback this to set expiry flag as well, then  teardown(), if conditions are met.
 * This *MUST* be called by anyone who uses this client.
 */
@Override
public void close() {
 release();
 if (System.currentTimeMillis() >= expiryTime)
  setExpiredFromCache();
 tearDownIfUnused();
}
origin: com.facebook.presto.hive/hive-apache

/**
 * Decrement the user count and piggyback this to set expiry flag as well, then  teardown(), if conditions are met.
 * This *MUST* be called by anyone who uses this client.
 */
@Override
public void close() {
 release();
 if (System.currentTimeMillis() >= expiryTime)
  setExpiredFromCache();
 tearDownIfUnused();
}
origin: org.apache.hive.hcatalog/hive-hcatalog-core

/**
 * Decrement the user count and piggyback this to set expiry flag as well, then  teardown(), if conditions are met.
 * This *MUST* be called by anyone who uses this client.
 */
@Override
public synchronized void close() {
 release();
 tearDownIfUnused();
}
origin: apache/hive

/**
 * Decrement the user count and piggyback this to set expiry flag as well, then  teardown(), if conditions are met.
 * This *MUST* be called by anyone who uses this client.
 */
@Override
public synchronized void close() {
 release();
 tearDownIfUnused();
}
org.apache.hive.hcatalog.commonHiveClientCache$CacheableHiveMetaStoreClientrelease

Javadoc

Decrements the user count.

Popular methods of HiveClientCache$CacheableHiveMetaStoreClient

  • tearDown
    Close if not closed already
  • tearDownIfUnused
    Tear down only if 1. There are no active user 2. It has expired from the cache
  • setExpiredFromCache
    Communicate to the client that it is no longer in the cache. The expiration time should be voided to
  • createDatabase
  • createTable
  • dropDatabase
  • dropTable
  • isOpen
    Make a call to hive meta store and see if the client is still usable. Some calls where the user prov

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • setScale (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JButton (javax.swing)
  • JCheckBox (javax.swing)
  • Top Vim 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