Examples of dump()


Examples of org.exist.storage.dom.DOMFile.dump()

            mgr.commit(txn);
            mgr.getJournal().flushToLog(true);
            System.out.println("Transaction interrupted ...");
           
            Writer writer = new StringWriter();
            domDb.dump(writer);
            System.out.println(writer.toString());
      } catch (Exception e) {
        e.printStackTrace();
          fail(e.getMessage());              
    } finally {
View Full Code Here

Examples of org.exist.storage.index.BFile.dump()

                collectionsDb.put(txn, new Value(data), new FixedByteArray(replacement, 0, replacement.length), true);
            }
            mgr.commit(txn);
           
            Writer writer = new StringWriter();
            collectionsDb.dump(writer);
            System.out.println(writer.toString());
        } catch (Exception e) {           
            fail(e.getMessage());           
        } finally {
            pool.release(broker);
View Full Code Here

Examples of org.exist.storage.journal.Loggable.dump()

                }
            } catch (final Exception e) {
                LOG.error("Exception caught while redoing transactions. Aborting recovery to avoid possible damage. " +
                    "Before starting again, make sure to run a check via the emergency export tool.", e);
                if (next != null)
                    {LOG.info("Log entry that caused the exception: " + next.dump());}
                throw new LogException("Recovery aborted. ");
            } finally {
                LOG.info("Redo processed " + redoCnt + " out of " + txnCount + " transactions.");
            }
View Full Code Here

Examples of org.exist.xmldb.XQueryService.dump()

        final long t1 = System.currentTimeMillis();
        tCompiled = t1 - t0;
       
        // In this way we can see the parsed structure meanwhile the query is
        final StringWriter writer = new StringWriter();
        service.dump(compiled, writer);
        exprDisplay.setText(writer.toString());
        resultTabs.setSelectedComponent(exprDisplay);
       
        statusMessage.setText(Messages.getString("QueryDialog.Compilation")+": " + tCompiled + "ms");
       
View Full Code Here

Examples of org.exist.xquery.CompiledXQuery.dump()

  /* (non-Javadoc)
   * @see org.exist.xmldb.XQueryService#dump(org.exist.xmldb.CompiledExpression, java.io.Writer)
   */
  public void dump(CompiledExpression expression, Writer writer) throws XMLDBException {
      final CompiledXQuery expr = (CompiledXQuery)expression;
      expr.dump(writer);
  }
}
View Full Code Here

Examples of org.exoplatform.services.jcr.access.AccessControlList.dump()

      }
      // get ACL
      try
      {
         AccessControlList list = getACL();
         acl = list == null ? "-;" : list.dump();
         acl = acl.replaceAll("\\n", "; ");
      }
      catch (RepositoryException e)
      {
         acl = "Error requesting ACL";
View Full Code Here

Examples of org.exoplatform.services.jcr.dataflow.PlainChangesLog.dump()

      PlainChangesLog cLog = changesLog.pushLog(path);

      if (log.isDebugEnabled())
      {
         log.debug(" ----- commit -------- \n" + cLog.dump());
      }

      try
      {
         transactionableManager.save(cLog);
View Full Code Here

Examples of org.exoplatform.services.jcr.impl.ext.action.SessionEventMatcher.dump()

      QPath[] paths = new QPath[]{node.getInternalPath(), node1.getInternalPath()};

      SessionEventMatcher matcher =
         new SessionEventMatcher(Event.NODE_ADDED, paths, true, null, new InternalQName[]{Constants.NT_BASE,
            Constants.NT_UNSTRUCTURED, Constants.NT_QUERY}, ntHolder);
      System.out.println(matcher.dump());
   }

   @Override
   public void setUp() throws Exception
   {
View Full Code Here

Examples of org.fonteditor.elements.curves.Curve.dump()

    Log.log("  Number of curves:" + number_of_curves);
    for (int i = number_of_curves; --i >= 0;) {
      // Log.log("Curves:" + i);
      Curve cv = curve[i];

      cv.dump();
    }
  }

  public boolean contains(FEPoint p) {
    return indexOf(p) >= 0;
View Full Code Here

Examples of org.jacoco.core.tools.ExecDumpClient.dump()

    client.setDump(dump);
    client.setReset(reset);
    client.setRetryCount(retryCount);

    try {
      final ExecFileLoader loader = client.dump(address, port);
      if (dump) {
        log(format("Dumping execution data to %s",
            destfile.getAbsolutePath()));
        loader.save(destfile, append);
      }
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.