Codota Logo
AbstractTransactionManager$1
Code IndexAdd Codota to your IDE (free)

How to use
AbstractTransactionManager$1
in
com.palantir.atlasdb.transaction.impl

Best Java code snippets using com.palantir.atlasdb.transaction.impl.AbstractTransactionManager$1 (Showing top 4 results out of 1,395)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: palantir/atlasdb

@Override
public boolean offer(Runnable runnable) {
  sanityCheckQueueSize();
  return super.offer(runnable);
}
origin: palantir/atlasdb

  private void sanityCheckQueueSize() {
    int currentSize = this.size();
    if (currentSize >= GET_RANGES_QUEUE_SIZE_WARNING_THRESHOLD && warningRateLimiter.tryAcquire()) {
      log.warn("You have {} pending getRanges tasks. Please sanity check both your level "
          + "of concurrency and size of batched range requests. If necessary you can "
          + "increase the value of concurrentGetRangesThreadPoolSize to allow for a larger "
          + "thread pool.", currentSize);
    }
  }
};
origin: com.palantir.atlasdb/atlasdb-client

@Override
public boolean offer(Runnable runnable) {
  sanityCheckQueueSize();
  return super.offer(runnable);
}
origin: com.palantir.atlasdb/atlasdb-client

  private void sanityCheckQueueSize() {
    int currentSize = this.size();
    if (currentSize >= GET_RANGES_QUEUE_SIZE_WARNING_THRESHOLD && warningRateLimiter.tryAcquire()) {
      log.warn("You have {} pending getRanges tasks. Please sanity check both your level "
          + "of concurrency and size of batched range requests. If necessary you can "
          + "increase the value of concurrentGetRangesThreadPoolSize to allow for a larger "
          + "thread pool.", currentSize);
    }
  }
};
com.palantir.atlasdb.transaction.implAbstractTransactionManager$1

Most used methods

  • sanityCheckQueueSize
  • size

Popular in Java

  • Making http post requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • getApplicationContext (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now