Class ThreadGroupFactory

  • All Implemented Interfaces:
    IPoolFactory<java.lang.Object>

    final class ThreadGroupFactory
    extends java.lang.Object
    implements IPoolFactory<java.lang.Object>
    Factory that create a thread group object from thread group factory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int m_nameIndex  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object createObject​(long identifier, java.lang.Object o)
      Creates a replacement object for a value in a pool
      ContentType<java.lang.Object> getContentType()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • m_nameIndex

        private final int m_nameIndex
    • Constructor Detail

      • ThreadGroupFactory

        public ThreadGroupFactory​(ValueDescriptor[] descriptors)
    • Method Detail

      • createObject

        public java.lang.Object createObject​(long identifier,
                                             java.lang.Object o)
        Description copied from interface: IPoolFactory
        Creates a replacement object for a value in a pool
        Specified by:
        createObject in interface IPoolFactory<java.lang.Object>
        Parameters:
        identifier - the identifier that is used to look up the object
        Returns:
        the replacement object that will be used instead