Home All Groups
jbossws-api / org / jboss / ws / api / monitoring / RecordGroupAssociation.html /
org.jboss.ws.api.monitoring

Class 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 Detail

      • RecordGroupAssociation

        public RecordGroupAssociation()
    • Method Detail

      • 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

Copyright © 2018 JBoss, by Red Hat. All rights reserved.