Package com.netcracker.profiler.agent
Class CallInfo
java.lang.Object
com.netcracker.profiler.agent.CallInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intintstatic final intstatic final intbooleanlonglonglongintbooleanfinal booleanbyteintintlongstatic final intServlet: module: ('G' | 'P') ' ' url action: queryString clientId: userName '@' remoteAddress clientInfo: threadName ':' XIDlonglongintlonglong -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidaddQueueWait(long duration) booleanbooleanChecks if the connection matches the stored in lastConnection onevoidclean()booleanbooleanbooleanbooleanChecks if the given xid matches the stored in this callInfovoidvoidsetCliendId(String clientId) voidsetClientInfo(String clientInfo) voidsetEndToEndId(String endToEndId) voidvoidvoidsetRemoteAddress(String remoteAddress) voidsetRequestURL(String requestUrl) voidsetTraceId(String traceId)
-
Field Details
-
corrupted
public boolean corrupted -
transactions
public long transactions -
logWritten
public int logWritten -
logGenerated
public int logGenerated -
cpuTime
public long cpuTime -
waitTime
public long waitTime -
queueWaitDuration
public int queueWaitDuration -
memoryUsed
public long memoryUsed -
fileRead
public long fileRead -
fileWritten
public long fileWritten -
netRead
public long netRead -
netWritten
public long netWritten -
finishTime
public int finishTime -
next
-
isFirstInThread
public final boolean isFirstInThread -
isPersist
public byte isPersist -
additionalReportedTime
public int additionalReportedTime -
isCallRed
public boolean isCallRed -
MODULE_LENGTH
public static final int MODULE_LENGTHServlet: module: ('G' | 'P') ' ' url action: queryString clientId: userName '@' remoteAddress clientInfo: threadName ':' XIDCommonPage: module: ('G' | 'P') ' ' url action: objectId ':' tabName clientId: userName '@' remoteAddress clientInfo: threadName ':' XID
Jobs: module: 'Job ' jobName action: jobClass '.' jobMethod | jobJMSTopic | jobURL clientInfo: threadName ':' XID
Workflow: module: 'WF' processTemplateId action: processId ':' activityId ':' actionNumber clientInfo: threadName ':' XID
Dataflow: module: 'DF' sessionTemplateId action: sessionId clientInfo: threadName ':' XID
Orchestrator: module: 'PO ' processName action: taskId ':' taskName
- See Also:
-
ACTION_LENGTH
public static final int ACTION_LENGTH- See Also:
-
CLIENT_ID_LENGTH
public static final int CLIENT_ID_LENGTH- See Also:
-
CLIENT_INFO_LENGTH
public static final int CLIENT_INFO_LENGTH- See Also:
-
-
Constructor Details
-
CallInfo
public CallInfo() -
CallInfo
-
-
Method Details
-
getRemoteAddress
-
setRemoteAddress
-
getRequestURL
-
setRequestURL
-
getNcUser
-
setNcUser
-
checkConnection
Checks if the connection matches the stored in lastConnection one- Parameters:
con- connection to check- Returns:
- true when the connection is up to date, false otherwise
-
sameXid
Checks if the given xid matches the stored in this callInfo- Parameters:
xid- string value of the xid to check- Returns:
- true when stored xid is up to date, false otherwise
-
addQueueWait
public void addQueueWait(long duration) -
anyFieldChanged
public boolean anyFieldChanged() -
getModule
-
setModule
-
moduleChanged
public boolean moduleChanged() -
getAction
-
setAction
-
actionChanged
public boolean actionChanged() -
getCliendId
-
setCliendId
-
clientIdChanged
public boolean clientIdChanged() -
getClientInfo
-
setClientInfo
-
clientInfoChanged
public boolean clientInfoChanged() -
setEndToEndId
-
getEndToEndId
-
getTraceId
-
setTraceId
-
getMediationInfo
-
clean
public void clean()
-