com.sap.tc.logging.interfaces

Interface IThreadRuntimeInfoProvider


public interface IThreadRuntimeInfoProvider

Defines the way Correlation ID and DSR Transaction ID properties are retrieved for each LogRecord


Method Summary
 long getCorrelationID()
          Returns the ID of the task that the current thread is executing at the moment.
 String getDsrTransactionID()
          Returns the transaction ID of the current user request.
 

Method Detail

getCorrelationID

long getCorrelationID()
Returns the ID of the task that the current thread is executing at the moment.

Returns:
long ID of the current operation if available or -1 otherwise.

getDsrTransactionID

String getDsrTransactionID()
Returns the transaction ID of the current user request.

Returns:
hex string representation of GUID associated with the current user request.
Access Rights

This class can be accessed from:


SC DC
[sap.com] FRAMEWORK [sap.com] tc/ddic/ddicruntime
[sap.com] ENGINEAPI [sap.com] tc/logging
[sap.com] ENGFACADE [sap.com] tc/bl/logging/api
[sap.com] CORE-TOOLS [sap.com] com.sap.engine.client.lib
[sap.com] BRMS-FACADE [sap.com] tc/brms/facade


Copyright 2010 SAP AG Complete Copyright Notice