<< Click to Display Table of Contents >>

IMonitorLogTarget

OZ UDL에서 모니터 로그 관련 정보를 사용하기 위한 인터페이스입니다.


Method Detail

ThreadID

public int ThreadID()

서비스 스레드 아이디를 가져옵니다.

Mark

public string Mark()

서비스 시작 및 종료 표시(start, end)를 가져옵니다.

ThreadName

public string ThreadName()

서비스 스레드 이름을 가져옵니다.

ServiceTime

public long ServiceTime()

서비스 시작 시간과 종료 시간을 가져옵니다.(단위: Milliseconds)

FreeMemory

public long FreeMemory()

사용 가능한 메모리 크기를 가져옵니다.(단위: byte)

TotalMemory

public long TotalMemory()

전체 JVM 메모리 크기를 가져옵니다.(단위: byte)

ServiceCode

public int ServiceCode()

서비스 구분 코드를 가져옵니다.

MARK가 "end"일 경우에만 값이 리턴되며 "start"일 경우 -1을 리턴합니다.

ServiceStatus

public int ServiceStatus()

서비스 상태 코드를 가져옵니다.

MARK가 "end"일 경우에만 값이 리턴되며 "start"일 경우 -1을 리턴합니다.

성공일 경우 "9001", 실패일 경우 "9002"를 리턴합니다.

ServiceParameter

public string ServiceParameter()

클라이언트에서 서비스 요청 시 전송되는 파라미터 값을 가져옵니다.

MARK가 "end"일 경우에만 값이 리턴되며 "start"일 경우 -1을 리턴합니다.

DBSessionID

public string DBSessionID()

DBMS 세션 ID를 가져옵니다.

MARK가 "end"일 경우에만 값이 리턴되며 "start"일 경우 -1을 리턴합니다.

ExecuteTime

public string ExecuteTime()

서비스 처리 시 소요된 시간을 가져옵니다.(단위: Milliseconds)

MARK가 "end"일 경우에만 값이 리턴되며 "start"일 경우 -1을 리턴합니다.

ErrorCode

public string ErrorCode()

에러 발생 시 에러 코드를 가져옵니다.

ErrorMsg

public string ErrorMsg()

에러 발생 시 에러 메시지를 가져옵니다.

ErrorStackTrace

public string ErrorStackTrace()

에러 발생 시 Stack Trace를 가져옵니다.

DBConns

public string DBConns()

Alias별 DB사용갯수를 가져옵니다.