Top Description Fields Constructors Methods
org.jboss.threads

pack-priv abstract Class EnhancedQueueExecutorBase5

extends EnhancedQueueExecutorBase4
Class Inheritance
Known Direct Subclasses
org.jboss.threads.EnhancedQueueExecutorBase6
Static Imports
org.jboss.threads.JBossExecutors.unsafe

EQE base: thread status

Field Summary

Modifier and TypeField and Description
pack-priv volatile long
threadStatus

Active consumers:

  • Bit 00..19: current number of running threads
  • Bit 20..39: core pool size
  • Bit 40..59: maximum pool size
  • Bit 60: 1 = allow core thread timeout; 0 = disallow core thread timeout
  • Bit 61: 1 = shutdown requested; 0 = shutdown not requested
  • Bit 62: 1 = shutdown task interrupt requested; 0 = interrupt not requested
  • Bit 63: 1 = shutdown complete; 0 = shutdown not complete
pack-priv static final long
Inherited from org.jboss.threads.EnhancedQueueExecutorBase4:
p00p01p02p03p04p05p06p07p08p09p0Ap0Bp0Cp0Dp0Ep0F

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
compareAndSetThreadStatus(final long expect, final long update)

Field Detail

threadStatusback to summary
pack-priv volatile long threadStatus

Active consumers:

  • Bit 00..19: current number of running threads
  • Bit 20..39: core pool size
  • Bit 40..59: maximum pool size
  • Bit 60: 1 = allow core thread timeout; 0 = disallow core thread timeout
  • Bit 61: 1 = shutdown requested; 0 = shutdown not requested
  • Bit 62: 1 = shutdown task interrupt requested; 0 = interrupt not requested
  • Bit 63: 1 = shutdown complete; 0 = shutdown not complete
Annotations
@SuppressWarnings:unused
threadStatusOffsetback to summary
pack-priv static final long threadStatusOffset

Constructor Detail

EnhancedQueueExecutorBase5back to summary
pack-priv EnhancedQueueExecutorBase5()

Method Detail

compareAndSetThreadStatusback to summary
pack-priv boolean compareAndSetThreadStatus(final long expect, final long update)