Package net.zero.smarttrace.core.data

Examples of net.zero.smarttrace.core.data.EThread


    this.objectFilter = objectFilter;
    }

  public EThread createThread(ThreadReference thread)
    {
    EThread ret=new EThread();
    ret.setName(thread.name());
    ret.setThreadGroup(createQueryThreadGroup(thread.threadGroup()));
    ret.setCompleteName(ret.getThreadGroup().getCompleteName() + "." + thread.name());
   
    JPAManager.getJPAManager().getEntityManager().persist(ret);
   
    return ret;
    }
View Full Code Here


    return ret;
    }
 
  public EThread createQueryThread(ThreadReference thread)
    {
    EThread ret=dataQuerier.getThread(getThreadCompleteName(thread));
    if(ret==null)
      ret=createThread(thread);
    return ret;
    }
View Full Code Here

    try
      {
      List<StackFrame> frames = thread.frames();
      if(frames.size()>0)
        {
        EThread eThread = createQueryThread(thread);
        ret.setThreadSequence(getThreadSequence(eThread));
        ret.setStackFrameLocation(getStackFrameLocation(eThread, frames, 0));
        }
      }
    catch (IncompatibleThreadStateException e)
View Full Code Here

TOP

Related Classes of net.zero.smarttrace.core.data.EThread

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.