Examples of complete()


Examples of org.sonatype.nexus.obr.metadata.ObrResourceWriter.complete()

          else {
            writer.append(i);
          }
        }

        writer.complete(); // the OBR is only updated once the stream is complete and closed
      }
      catch (final IOException e) {
        throw new StorageException(e);
      }
      finally {
View Full Code Here

Examples of org.springframework.http.server.ServerHttpAsyncRequestControl.complete()

      updateLastActiveTime();

      if (control != null && !control.isCompleted()) {
        if (control.isStarted()) {
          try {
            control.complete();
          }
          catch (Throwable ex) {
            // Could be part of normal workflow (e.g. browser tab closed)
            logger.debug("Failed to complete request: " + ex.getMessage());
          }
View Full Code Here

Examples of org.teavm.common.FiniteExecutor.complete()

                        }
                    }
                });
                ++methodsGenerated;
            }
            executor.complete();
            if (sourceFilesCopied) {
                sourceFilesCopier.copy(new File(new File(outputDir, "tests"), "src"));
            }
            log.info("Test files successfully generated for " + methodsGenerated + " method(s).");
        } catch (IOException e) {
View Full Code Here

Examples of org.teavm.common.SimpleFiniteExecutor.complete()

                        }
                    }
                });
                ++methodsGenerated;
            }
            executor.complete();
            if (sourceFilesCopied) {
                sourceFilesCopier.copy(new File(new File(outputDir, "tests"), "src"));
            }
            log.info("Test files successfully generated for " + methodsGenerated + " method(s).");
        } catch (IOException e) {
View Full Code Here

Examples of org.vertx.java.core.impl.DefaultFutureResult.complete()

            log.info(String.format("Creating new Vert.x instance '%s:%s' ...", endpointConfiguration.getHost(), 0L));
            VertxFactory.newVertx(0, endpointConfiguration.getHost(), asyncLoadingHandler);
        }

        // Wait for full loading
        while (!loading.complete()) {
            try {
                log.debug("Waiting for Vert.x instance to startup");
                Thread.sleep(250L);
            } catch (InterruptedException e) {
                log.warn("Interrupted while waiting for Vert.x instance startup", e);
View Full Code Here

Examples of org.zkoss.zk.ui.event.EventThreadCleanup.complete()

    if (cleanups == null || cleanups.isEmpty()) return;

    for (Iterator it = cleanups.iterator(); it.hasNext();) {
      final EventThreadCleanup fn = (EventThreadCleanup)it.next();
      try {
        fn.complete(comp, evt);
      } catch (Throwable ex) {
        if (errs != null) errs.add(ex);
        if (!silent)
          log.error("Failed to invoke "+fn, ex);
      }
View Full Code Here

Examples of riffle.process.scheduler.ProcessChain.complete()

    ProcessChain chain = new ProcessChain( true, fourth, second, first, third );

    chain.start();

    chain.complete();

    validateLength( fourth, 20 );
    }

  @Test
View Full Code Here

Examples of sun.font.LayoutPathImpl.SegmentPathBuilder.complete()

                if (at != null) {
                    at.deltaTransform(pt, pt);
                }
                builder.lineTo(tx += pt.x, ty += pt.y);
            }
            lp = builder.complete();

            if (lp == null) { // empty path
                int vi = fComponentVisualOrder == null ? 0 : fComponentVisualOrder[0];
                tlc = fComponents[vi];
                AffineTransform at = tlc.getBaselineTransform();
View Full Code Here

Examples of tv.floe.metronome.classification.neuralnetworks.iterativereduce.MasterNode.complete()

     
      FSDataOutputStream fos;

      fos = fs.create(out);
        //LOG.info("Writing master results to " + out.toString());
        mnode.complete(fos);
       
        fos.flush();
        fos.close();

      //BufferedWriter bw = new BufferedWriter(new FileWriter(output_path));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.