com.apptelemetry.apm
Class APM
java.lang.Object
com.apptelemetry.apm.APM
public class APM
- extends java.lang.Object
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 |
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
APM
public APM()
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.