com.apptelemetry.apm
Class APM

java.lang.Object
  extended by com.apptelemetry.apm.APM

public class APM
extends java.lang.Object


Field Summary
static long EVENT_ERROR
           
static long EVENT_INFO
           
static byte EVENT_LEVEL_DEBUG
           
static byte EVENT_LEVEL_DETAIL
           
static byte EVENT_LEVEL_IPC
           
static byte EVENT_LEVEL_LOG
           
static byte EVENT_LEVEL_NORMAL
           
static long EVENT_OS_CLOSE
           
static long EVENT_OS_COPY
           
static long EVENT_OS_CREATE
           
static long EVENT_OS_CRITICALSECTION_ENTER
           
static long EVENT_OS_CRITICALSECTION_LEAVE
           
static long EVENT_OS_CRITICALSECTION_WAIT
           
static long EVENT_OS_DELETE
           
static long EVENT_OS_EXECUTE
           
static long EVENT_OS_FLUSH
           
static long EVENT_OS_MOVE
           
static long EVENT_OS_OPEN
           
static long EVENT_OS_READ
           
static long EVENT_OS_RENAME
           
static long EVENT_OS_SLEEP
           
static long EVENT_OS_WAIT
           
static long EVENT_OS_WRITE
           
static long EVENT_PARENT_SEQUENCE
           
static long EVENT_REQUEST_SEQUENCE
           
static long EVENT_SEQUENCE_NAME
           
static long EVENT_TRACE
           
static long EVENT_WARNING
           
static long EVENT_XMLHTTP_COMPLETE
           
static long EVENT_XMLHTTP_INTERACTIVE
           
static long EVENT_XMLHTTP_LOADED
           
static long EVENT_XMLHTTP_LOADING
           
static long EVENT_XMLHTTP_PROCESSED
           
static long EVENT_XMLHTTP_PROCESSING
           
static long EVENT_XMLHTTP_SEND
           
static byte FLAG_ENTER
           
static byte FLAG_ERROR
           
static byte FLAG_LEAVE
           
static byte FLAG_NONE
           
static byte FLAG_PROCESS_INFO
           
static byte FLAG_WAIT
           
static byte FLAG_WARNING
           
static java.lang.String MODULE_NAME_OS
           
static java.lang.String MODULE_NAME_XMLHTTP
           
 
Constructor Summary
APM()
           
 
Method Summary
static void AttachThread(long transaction)
          Call AttachThread to resume execution of a request.
static long DetachThread()
          Call DetachThread to suspend execution of the current request.
static APMCompatibilityInfo IsCompatible()
          Call APM.IsCompatible to test, if the application has loaded a compatible library.
static boolean IsConnected()
          Call STRUDLIsConnected to test, if the application has successfully registered to a STRUDL agent.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVENT_LEVEL_LOG

public static final byte EVENT_LEVEL_LOG
See Also:
Constant Field Values

EVENT_LEVEL_IPC

public static final byte EVENT_LEVEL_IPC
See Also:
Constant Field Values

EVENT_LEVEL_NORMAL

public static final byte EVENT_LEVEL_NORMAL
See Also:
Constant Field Values

EVENT_LEVEL_DETAIL

public static final byte EVENT_LEVEL_DETAIL
See Also:
Constant Field Values

EVENT_LEVEL_DEBUG

public static final byte EVENT_LEVEL_DEBUG
See Also:
Constant Field Values

FLAG_NONE

public static final byte FLAG_NONE
See Also:
Constant Field Values

FLAG_ENTER

public static final byte FLAG_ENTER
See Also:
Constant Field Values

FLAG_LEAVE

public static final byte FLAG_LEAVE
See Also:
Constant Field Values

FLAG_WAIT

public static final byte FLAG_WAIT
See Also:
Constant Field Values

FLAG_WARNING

public static final byte FLAG_WARNING
See Also:
Constant Field Values

FLAG_ERROR

public static final byte FLAG_ERROR
See Also:
Constant Field Values

FLAG_PROCESS_INFO

public static final byte FLAG_PROCESS_INFO
See Also:
Constant Field Values

MODULE_NAME_OS

public static final java.lang.String MODULE_NAME_OS
See Also:
Constant Field Values

EVENT_OS_CREATE

public static final long EVENT_OS_CREATE
See Also:
Constant Field Values

EVENT_OS_OPEN

public static final long EVENT_OS_OPEN
See Also:
Constant Field Values

EVENT_OS_DELETE

public static final long EVENT_OS_DELETE
See Also:
Constant Field Values

EVENT_OS_READ

public static final long EVENT_OS_READ
See Also:
Constant Field Values

EVENT_OS_WRITE

public static final long EVENT_OS_WRITE
See Also:
Constant Field Values

EVENT_OS_CLOSE

public static final long EVENT_OS_CLOSE
See Also:
Constant Field Values

EVENT_OS_FLUSH

public static final long EVENT_OS_FLUSH
See Also:
Constant Field Values

EVENT_OS_RENAME

public static final long EVENT_OS_RENAME
See Also:
Constant Field Values

EVENT_OS_COPY

public static final long EVENT_OS_COPY
See Also:
Constant Field Values

EVENT_OS_MOVE

public static final long EVENT_OS_MOVE
See Also:
Constant Field Values

EVENT_OS_EXECUTE

public static final long EVENT_OS_EXECUTE
See Also:
Constant Field Values

EVENT_OS_WAIT

public static final long EVENT_OS_WAIT
See Also:
Constant Field Values

EVENT_OS_SLEEP

public static final long EVENT_OS_SLEEP
See Also:
Constant Field Values

EVENT_OS_CRITICALSECTION_WAIT

public static final long EVENT_OS_CRITICALSECTION_WAIT
See Also:
Constant Field Values

EVENT_OS_CRITICALSECTION_ENTER

public static final long EVENT_OS_CRITICALSECTION_ENTER
See Also:
Constant Field Values

EVENT_OS_CRITICALSECTION_LEAVE

public static final long EVENT_OS_CRITICALSECTION_LEAVE
See Also:
Constant Field Values

MODULE_NAME_XMLHTTP

public static final java.lang.String MODULE_NAME_XMLHTTP
See Also:
Constant Field Values

EVENT_XMLHTTP_SEND

public static final long EVENT_XMLHTTP_SEND
See Also:
Constant Field Values

EVENT_XMLHTTP_LOADING

public static final long EVENT_XMLHTTP_LOADING
See Also:
Constant Field Values

EVENT_XMLHTTP_LOADED

public static final long EVENT_XMLHTTP_LOADED
See Also:
Constant Field Values

EVENT_XMLHTTP_INTERACTIVE

public static final long EVENT_XMLHTTP_INTERACTIVE
See Also:
Constant Field Values

EVENT_XMLHTTP_COMPLETE

public static final long EVENT_XMLHTTP_COMPLETE
See Also:
Constant Field Values

EVENT_XMLHTTP_PROCESSING

public static final long EVENT_XMLHTTP_PROCESSING
See Also:
Constant Field Values

EVENT_XMLHTTP_PROCESSED

public static final long EVENT_XMLHTTP_PROCESSED
See Also:
Constant Field Values

EVENT_ERROR

public static final long EVENT_ERROR
See Also:
Constant Field Values

EVENT_WARNING

public static final long EVENT_WARNING
See Also:
Constant Field Values

EVENT_INFO

public static final long EVENT_INFO
See Also:
Constant Field Values

EVENT_TRACE

public static final long EVENT_TRACE
See Also:
Constant Field Values

EVENT_REQUEST_SEQUENCE

public static final long EVENT_REQUEST_SEQUENCE
See Also:
Constant Field Values

EVENT_SEQUENCE_NAME

public static final long EVENT_SEQUENCE_NAME
See Also:
Constant Field Values

EVENT_PARENT_SEQUENCE

public static final long EVENT_PARENT_SEQUENCE
See Also:
Constant Field Values
Constructor Detail

APM

public APM()
Method Detail

IsCompatible

public static APMCompatibilityInfo IsCompatible()
Call APM.IsCompatible to test, if the application has loaded a compatible library.

Returns:
APMCompatibilityInfo with compatible set to true if the native library is compatible with the java stub.

IsConnected

public static boolean IsConnected()
Call STRUDLIsConnected to test, if the application has successfully registered to a STRUDL agent.

Returns:
true if application is connected, false if not or if nativeLib is not loaded.

DetachThread

public static long DetachThread()
Call DetachThread to suspend execution of the current request.

Returns:
transaction handle to be used in a subsequent AttachThread call.

AttachThread

public static void AttachThread(long transaction)
Call AttachThread to resume execution of a request.

Parameters:
transaction - handle returned by the DetachThread call.


Copyright © 2010, Fabasoft AG.