Examples of IThreadInfo


Examples of tod.core.database.structure.IThreadInfo

    @Override
    public ThreadInfo getByReference(ThreadReference reference) {
        ThreadInfo info = refsToThreads.get(reference);
        if (info == null) {
            IThreadInfo todReference = this.getTODSession().getTODHandler().lookupThread(reference);
            info = new ThreadInfo(reference, todReference);
            threadsToRefs.put(info, reference);
            refsToThreads.put(reference, info);
        }
       
View Full Code Here

Examples of tod.core.database.structure.IThreadInfo

    @Override
    public IThreadInfo lookupThread(ThreadReference reference) {
        Iterator<IThreadInfo> threads = this.todSession.getLogBrowser().getThreads().iterator();

        while (threads.hasNext()) {
            IThreadInfo thread = threads.next();

            if (thread.getJVMId() == reference.uniqueID()) {
                return thread;
            }
        }

        // The thread couldn't be found--this shouldn't happen under normal
View Full Code Here

Examples of tod.core.database.structure.IThreadInfo

        if (thread == null) {
            return browser.createBrowser().clone();
        }
       
        // Create a thread filter.
        IThreadInfo todThread = this.getTODSession().getThreadTracker().getByReference(thread).getTODThreadReference();
        if (todThread == null) {
            return null;
        }

        IEventFilter filter = browser.createThreadFilter(todThread);
View Full Code Here

Examples of tod.core.database.structure.IThreadInfo

        // Perform a flush.
        this.processManager.getMaster().flush();

        // Create a thread filter.
        ILogBrowser browser = this.todSession.getLogBrowser();
        IThreadInfo todThread = this.getTODSession().getThreadTracker().getByReference(thread).getTODThreadReference();
        if (todThread == null) {
            return 0;
        }
        IEventFilter filter = browser.createThreadFilter(todThread);
        IEventBrowser events = browser.createBrowser(filter);
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.