org.headlessintrace.client.model.BeanTraceEventImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of headlessInTraceClient Show documentation
Show all versions of headlessInTraceClient Show documentation
A headless java API that collects events from other JVMs. Events=method invocations. Initial code taken from http://mchr3k.github.io/org.intrace/. Intended for building diagnostic applications.
package org.headlessintrace.client.model;
/*
* ClientStrings.COL_NAME_AGENT_NAME,
* ClientStrings.COL_NAME_AGENT_PORT,
* ClientStrings.COL_NAME_THREAD_ID,
* ClientStrings.COL_NAME_EVENT_TS,
* ClientStrings.COL_NAME_RECEIPT_TS,
* ClientStrings.COL_NAME_RAW_EVENT_DATA,
* ClientStrings.COL_NAME_RAW_EVENT_TYPE
*
*/
public class BeanTraceEventImpl {
public static final long UNINITIALIZED_TS = -1;
public static final short UNINITIALIZED_PORT = -2;
private String rawEventData = null;
private Exception exception = null;
/*
* ("","", "",traceLine, "TRACE");
*/
public BeanTraceEventImpl(String rawEventData, String eventType, Exception ex) {
this.rawEventData=rawEventData;
this.exception = ex;
// TODO Auto-generated constructor stub
}
/*
* ("","", "",traceLine, "TRACE");
*/
public BeanTraceEventImpl(String rawEventData, String eventType) {
this.rawEventData = rawEventData;
}
/* (non-Javadoc)
* @see org.headlessintrace.client.model.ITraceEvent#getRawEventData()
*/
public String getRawEventData() {
return rawEventData;
}
// public Exception getException() {
// // TODO Auto-generated method stub
// return exception;
// }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy