Examples of dump()


Examples of org.apache.axis2.jaxws.message.XMLFault.dump()

            }
        }
       
        if (log.isDebugEnabled()) {
            log.debug("element QName which will be used to find a service exception = " + elementQName);
            log.debug("XMLFault Dump = " +xmlfault.dump(""));
            log.debug("OperationDesc Dump =" + operationDesc);
        }

        // Use the element name to find the matching FaultDescriptor
        FaultDescription faultDesc = null;
View Full Code Here

Examples of org.apache.bcel.classfile.JavaClass.dump()

  while (classes.hasMoreElements()) {
      final JavaClass clazz = (JavaClass)classes.nextElement();
      final String className = clazz.getClassName().replace('.','/');
      jos.putNextEntry(new JarEntry(className+".class"));
      final ByteArrayOutputStream out = new ByteArrayOutputStream(2048);
      clazz.dump(out); // dump() closes it's output stream
      out.writeTo(jos);
  }
  jos.close();
    }
View Full Code Here

Examples of org.apache.commons.imaging.formats.jpeg.segments.Segment.dump()

                // this.debugNumber("found, marker: ", marker, 4);
                pw.println(d + ": marker: "
                        + Integer.toHexString(segment.marker) + ", "
                        + segment.getDescription() + " (length: "
                        + nf.format(segment.length) + ")");
                segment.dump(pw);
            }

            pw.println("");
        }
View Full Code Here

Examples of org.apache.commons.imaging.icc.IccProfileInfo.dump()

        final byte[] bytes = iccProfile.getData();

        final IccProfileParser parser = new IccProfileParser();

        final IccProfileInfo info = parser.getICCProfileInfo(bytes);
        info.dump(prefix);
    }

    public void dump(final BufferedImage src) {
        dump("", src);
    }
View Full Code Here

Examples of org.apache.directmemory.cache.CacheService.dump()

        //Test retrieving an object added by an other bundle.
        Object result = cacheService.retrieve( "1" );
        assertNotNull( result );

        cacheService.scheduleDisposalEvery( Every.seconds( 1 ) );
        cacheService.dump();
        Monitor.dump( "cache" );

        Pointer p = cacheService.put( "2", obj );
        result = cacheService.retrieve( "2" );
        cacheService.dump();
View Full Code Here

Examples of org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.dump()

  HBaseAdmin hbadmin = new HBaseAdmin(conf);
  HConnection connection = hbadmin.getConnection();
  ZooKeeperWrapper wrapper = connection.getZooKeeperWrapper();

      out.write("\n\n<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \n  \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"> \n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head><meta http-equiv=\"Content-Type\" content=\"text/html;charset=UTF-8\"/>\n<title>ZooKeeper Dump</title>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/static/hbase.css\" />\n</head>\n<body>\n<a id=\"logo\" href=\"http://hbase.org\"><img src=\"/static/hbase_logo_med.gif\" alt=\"HBase Logo\" title=\"HBase Logo\" /></a>\n<h1 id=\"page_title\">ZooKeeper Dump</h1>\n<p id=\"links_menu\"><a href=\"/master.jsp\">Master</a>, <a href=\"/logs/\">Local logs</a>, <a href=\"/stacks\">Thread Dump</a>, <a href=\"/logLevel\">Log Level</a></p>\n<hr id=\"head_rule\" />\n<pre>\n");
      out.print( wrapper.dump() );
      out.write("\n</pre>\n\n</body>\n</html>\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
View Full Code Here

Examples of org.apache.hadoop.hive.ql.parse.ASTNode.dump()

          perfLogger.PerfLogEnd(CLASS_NAME, PerfLogger.DO_AUTHORIZATION);
        }
      }

      if (conf.getBoolVar(ConfVars.HIVE_LOG_EXPLAIN_OUTPUT)) {
        String explainOutput = getExplainOutput(sem, plan, tree.dump());
        if (explainOutput != null) {
          LOG.info("EXPLAIN output for queryid " + queryId + " : "
              + explainOutput);
        }
      }
View Full Code Here

Examples of org.apache.http.WritableByteChannelMock.dump()

        conn.produceOutput(handler);

        Assert.assertNull(conn.getHttpResponse());
        Assert.assertNull(conn.contentEncoder);
        Assert.assertEquals("HTTP/1.1 200 OK\r\n\r\nstuff", wchannel.dump(Consts.ASCII));

        Mockito.verify(session, Mockito.times(1)).clearEvent(SelectionKey.OP_WRITE);
        Mockito.verify(wchannel, Mockito.times(1)).write(Matchers.<ByteBuffer>any());
    }
View Full Code Here

Examples of org.apache.jackrabbit.vault.fs.api.Aggregator.dump()

    public void dump(DumpContext ctx, boolean isLast) {
        ctx.println(isLast, "aggregators");
        ctx.indent(isLast);
        for (Iterator<Aggregator> iter = aggregators.iterator(); iter.hasNext();) {
            Aggregator a = iter.next();
            a.dump(ctx, !iter.hasNext());
        }
        ctx.outdent();
    }
}
View Full Code Here

Examples of org.apache.jackrabbit.vault.fs.api.ArtifactHandler.dump()

        aggregatorProvider.dump(ctx, false);
        ctx.println(true, "handlers");
        ctx.indent(true);
        for (Iterator<ArtifactHandler> iter = artifactHandlers.iterator(); iter.hasNext();) {
            ArtifactHandler h = iter.next();
            h.dump(ctx, !iter.hasNext());
        }
        ctx.outdent();

        ctx.flush();
    }
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.