Package org.jboss.jca.core.tracer

Examples of org.jboss.jca.core.tracer.TraceEvent


      writeEOL(fw);

      for (int i = 0; i < events.size(); i++)
      {
         TraceEvent te = events.get(i);
         switch (te.getType())
         {
            case TraceEvent.GET_CONNECTION_LISTENER:
               writeString(fw, "application:cm.allocateConnection()");
               writeEOL(fw);
View Full Code Here


      long start = 0L;
      List<TraceEvent> l = new ArrayList<TraceEvent>();

      for (int i = 0; i < data.size(); i++)
      {
         TraceEvent te = data.get(i);
         l.add(te);

         if (start == 0L)
            start = te.getTimestamp();

         if (isEndState(te))
         {
            result.put(Long.toString(start) + "-" + Long.toString(te.getTimestamp()), l);

            start = 0L;
            l = new ArrayList<TraceEvent>();
         }
      }
View Full Code Here

      if (index < 0 || index >= events.size())
         return false;

      for (int j = index; j < events.size(); j++)
      {
         TraceEvent te = events.get(j);
         if (te.getType() == TraceEvent.GET_CONNECTION ||
             te.getType() == TraceEvent.RETURN_CONNECTION)
            return true;
      }

      return false;
   }
View Full Code Here

TOP

Related Classes of org.jboss.jca.core.tracer.TraceEvent

Copyright © 2018 www.massapicom. 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.