congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
HPoolExhaustedException
Code IndexAdd Tabnine to your IDE (free)

How to use
HPoolExhaustedException
in
me.prettyprint.hector.api.exceptions

Best Java code snippets using me.prettyprint.hector.api.exceptions.HPoolExhaustedException (Showing top 6 results out of 315)

origin: hector-client/hector

cassandraClient = availableClientQueue.poll(maxWaitTimeWhenExhausted, TimeUnit.MILLISECONDS);
if (cassandraClient == null) {
 throw new HPoolExhaustedException(String.format(
   "maxWaitTimeWhenExhausted exceeded for thread %s on host %s",
   new Object[] { Thread.currentThread().getName(), cassandraHost.getName() }));
origin: hector-client/hector

 he = new HectorTransportException(original);
} else if (original instanceof NoSuchElementException) {
 he = new HPoolExhaustedException(original);
} else if (original instanceof IllegalStateException) {
 he = new PoolIllegalStateException(original);
origin: org.hectorclient/hector-core

cassandraClient = availableClientQueue.poll(maxWaitTimeWhenExhausted, TimeUnit.MILLISECONDS);
if (cassandraClient == null) {
 throw new HPoolExhaustedException(String.format(
   "maxWaitTimeWhenExhausted exceeded for thread %s on host %s",
   new Object[] { Thread.currentThread().getName(), cassandraHost.getName() }));
origin: me.prettyprint/hector-core

cassandraClient = availableClientQueue.poll(maxWaitTimeWhenExhausted, TimeUnit.MILLISECONDS);
if (cassandraClient == null) {
 throw new HPoolExhaustedException(String.format(
   "maxWaitTimeWhenExhausted exceeded for thread %s on host %s",
   new Object[] { Thread.currentThread().getName(), cassandraHost.getName() }));
origin: org.hectorclient/hector-core

 he = new HectorTransportException(original);
} else if (original instanceof NoSuchElementException) {
 he = new HPoolExhaustedException(original);
} else if (original instanceof IllegalStateException) {
 he = new PoolIllegalStateException(original);
origin: me.prettyprint/hector-core

 return new HectorTransportException(original);
} else if (original instanceof NoSuchElementException) {
 return new HPoolExhaustedException(original);
} else if (original instanceof IllegalStateException) {
 return new PoolIllegalStateException(original);
me.prettyprint.hector.api.exceptionsHPoolExhaustedException

Javadoc

Indicates that a client pool has been exhausted.

Most used methods

  • <init>

Popular in Java

  • Parsing JSON documents to java classes using gson
  • addToBackStack (FragmentTransaction)
  • getSystemService (Context)
  • getContentResolver (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • JOptionPane (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top 12 Jupyter Notebook extensions
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