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

How to use
AsyncObjectSizeQueue
in
org.eclipse.jgit.lib

Best Java code snippets using org.eclipse.jgit.lib.AsyncObjectSizeQueue (Showing top 4 results out of 315)

origin: org.eclipse.jgit/org.eclipse.jgit

for (;;) {
  try {
    if (!sizeQueue.next())
      break;
  } catch (MissingObjectException notFound) {
    monitor.update(1);
    if (ignoreMissingUninteresting) {
      ObjectToPack otp = sizeQueue.getCurrent();
      if (otp != null && otp.isEdge()) {
        otp.setDoNotDelta();
  ObjectToPack otp = sizeQueue.getCurrent();
  if (otp == null)
    otp = objectsMap.get(sizeQueue.getObjectId());
  long sz = sizeQueue.getSize();
  if (DeltaIndex.BLKSZ < sz && sz < limit)
    otp.setWeight((int) sz);
sizeQueue.release();
origin: io.github.svndump-to-git/git-importer

    blobIds, true);
while (sq.next())
  totalSize += sq.getSize();
origin: berlam/github-bucket

for (;;) {
  try {
    if (!sizeQueue.next())
      break;
  } catch (MissingObjectException notFound) {
    monitor.update(1);
    if (ignoreMissingUninteresting) {
      ObjectToPack otp = sizeQueue.getCurrent();
      if (otp != null && otp.isEdge()) {
        otp.setDoNotDelta();
  ObjectToPack otp = sizeQueue.getCurrent();
  if (otp == null)
    otp = objectsMap.get(sizeQueue.getObjectId());
  long sz = sizeQueue.getSize();
  if (DeltaIndex.BLKSZ < sz && sz < limit)
    otp.setWeight((int) sz);
sizeQueue.release();
origin: sonia.jgit/org.eclipse.jgit

for (;;) {
  try {
    if (!sizeQueue.next())
      break;
  } catch (MissingObjectException notFound) {
    monitor.update(1);
    if (ignoreMissingUninteresting) {
      ObjectToPack otp = sizeQueue.getCurrent();
      if (otp != null && otp.isEdge()) {
        otp.setDoNotDelta();
  ObjectToPack otp = sizeQueue.getCurrent();
  if (otp == null)
    otp = objectsMap.get(sizeQueue.getObjectId());
  long sz = sizeQueue.getSize();
  if (DeltaIndex.BLKSZ < sz && sz < limit)
    otp.setWeight((int) sz);
sizeQueue.release();
org.eclipse.jgit.libAsyncObjectSizeQueue

Javadoc

Queue to examine object sizes asynchronously. A queue may perform background lookup of object sizes and supply them (possibly out-of-order) to the application.

Most used methods

  • getSize
  • next
    Position this queue onto the next available result.
  • getCurrent
  • getObjectId
  • release

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setScale (BigDecimal)
  • requestLocationUpdates (LocationManager)
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JTable (javax.swing)
  • 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