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

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

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

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: 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: 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();
}
org.apache.hive.hcatalog.commonHiveClientCache$CacheableHiveMetaStoreClientsetExpiredFromCache

Javadoc

Communicate to the client that it is no longer in the cache. The expiration time should be voided to allow the connection to be closed at the first opportunity.

Popular methods of HiveClientCache$CacheableHiveMetaStoreClient

  • release
    Decrements the user count.
  • tearDown
    Close if not closed already
  • tearDownIfUnused
    Tear down only if 1. There are no active user 2. It has expired from the cache
  • 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

  • Reading from database using SQL prepared statement
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • getApplicationContext (Context)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JOptionPane (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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