![JAR search and dependency download from the Maven repository](/logo.png)
com.vmlens.trace.agent.bootstrap.callback.SendEventForSmallThreadId Maven / Gradle / Ivy
package com.vmlens.trace.agent.bootstrap.callback;
import com.vmlens.trace.agent.bootstrap.event.RuntimeEvent;
import com.vmlens.trace.agent.bootstrap.event.gen.EventFactory;
import com.vmlens.trace.agent.bootstrap.threadQueue.QueueCollection;
public class SendEventForSmallThreadId extends SendEventImpl {
private final byte mappedThreadId;
public SendEventForSmallThreadId(long myThreadId,QueueCollectionWrapper queueCollection, byte mappedThreadId,CallbackStatePerThread callbackStatePerThread) {
super(myThreadId, queueCollection,callbackStatePerThread);
this.mappedThreadId = mappedThreadId;
}
public void writeMethodEnterEventGen(final int slidingWindowId, final int methodId, final int methodCounter) {
getQueueCollection().put( ID_Method ,
EventFactory.createMethodEnterSmallThreadIdEventGen( slidingWindowId, mappedThreadId, methodId,methodCounter), slidingWindowId);
}
public void writeMethodExitEventGen(final int slidingWindowId, final int methodId,final int methodCounter) {
getQueueCollection().put( ID_Method ,
EventFactory.createMethodExitSmallThreadIdEventGen( slidingWindowId, mappedThreadId, methodId,methodCounter), slidingWindowId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy