Class RecordGroupAssociation

java.lang.Object
org.jboss.ws.api.monitoring.RecordGroupAssociation

public class RecordGroupAssociation extends Object
Associates the record group ID with the current thread. This is implemented internally through a static ThreadLocal member.
Since:
8-Dec-2007
Author:
Alessio Soldano
  • Constructor Details

    • RecordGroupAssociation

      public RecordGroupAssociation()
  • Method Details

    • pushGroupID

      public static void pushGroupID(String groupID)
      Associates the specified groupID to the current thread
      Parameters:
      groupID - the groupID to associate to the current thread
    • peekGroupID

      public static String peekGroupID()
      Returns the groupID currently associated to the current thread
      Returns:
      the current thread groupID
    • popGroupID

      public static String popGroupID()
      Returns the groupID for the current thread and removes the association.
      Returns:
      thre current thread groupID