congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Finding current android device location
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • getSharedPreferences (Context)
  • Menu (java.awt)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • CodeWhisperer alternatives
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