Top Inners Constructors Methods
org.aspectj.runtime.internal.cflowstack

public Class ThreadStackFactoryImpl

extends Object
implements ThreadStackFactory
Class Inheritance
All Implemented Interfaces
org.aspectj.runtime.internal.cflowstack.ThreadStackFactory
Imports
java.util.Stack

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ThreadCounter
public ThreadStack
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ThreadStackFactoryImplback to summary
public ThreadStackFactoryImpl()

Method Detail

getNewThreadCounterback to summary
public ThreadCounter getNewThreadCounter()

Implements org.aspectj.runtime.internal.cflowstack.ThreadStackFactory.getNewThreadCounter.

getNewThreadStackback to summary
public ThreadStack getNewThreadStack()

Implements org.aspectj.runtime.internal.cflowstack.ThreadStackFactory.getNewThreadStack.

org.aspectj.runtime.internal.cflowstack back to summary

private Class ThreadStackFactoryImpl.ThreadCounterImpl

extends ThreadLocal<ThreadStackFactoryImpl.ThreadCounterImpl.Counter>
implements ThreadCounter
Class Inheritance
All Implemented Interfaces
org.aspectj.runtime.internal.cflowstack.ThreadCounter

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
public ThreadStackFactoryImpl.ThreadCounterImpl.Counter
public void
public ThreadStackFactoryImpl.ThreadCounterImpl.Counter
initialValue()

Overrides java.lang.ThreadLocal.initialValue.

Returns the current thread's "initial value" for this thread-local variable.
public boolean
public void
Inherited from java.lang.ThreadLocal:
getremovesetwithInitial

Constructor Detail

ThreadCounterImplback to summary
private ThreadCounterImpl()

Method Detail

decback to summary
public void dec()

Implements org.aspectj.runtime.internal.cflowstack.ThreadCounter.dec.

getThreadCounterback to summary
public ThreadStackFactoryImpl.ThreadCounterImpl.Counter getThreadCounter()
incback to summary
public void inc()

Implements org.aspectj.runtime.internal.cflowstack.ThreadCounter.inc.

initialValueback to summary
public ThreadStackFactoryImpl.ThreadCounterImpl.Counter initialValue()

Overrides java.lang.ThreadLocal.initialValue.

Doc from java.lang.ThreadLocal.initialValue.

Returns the current thread's "initial value" for this thread-local variable. This method will be invoked the first time a thread accesses the variable with the get method, unless the thread previously invoked the set method, in which case the initialValue method will not be invoked for the thread. Normally, this method is invoked at most once per thread, but it may be invoked again in case of subsequent invocations of remove followed by get.

Returns:ThreadStackFactoryImpl.ThreadCounterImpl.Counter

the initial value for this thread-local

isNotZeroback to summary
public boolean isNotZero()

Implements org.aspectj.runtime.internal.cflowstack.ThreadCounter.isNotZero.

removeThreadCounterback to summary
public void removeThreadCounter()

Implements org.aspectj.runtime.internal.cflowstack.ThreadCounter.removeThreadCounter.

org.aspectj.runtime.internal.cflowstack back to summary

pack-priv Class ThreadStackFactoryImpl.ThreadCounterImpl.Counter

extends Object
Class Inheritance
  • java.lang.Object
  • org.aspectj.runtime.internal.cflowstack.ThreadStackFactoryImpl.ThreadCounterImpl.Counter

Field Summary

Modifier and TypeField and Description
protected int

Constructor Summary

AccessConstructor and Description
pack-priv

Field Detail

valueback to summary
protected int value

Constructor Detail

Counterback to summary
pack-priv Counter()
org.aspectj.runtime.internal.cflowstack back to summary

private Class ThreadStackFactoryImpl.ThreadStackImpl

extends ThreadLocal<Stack<E>>
implements ThreadStack
Class Inheritance
All Implemented Interfaces
org.aspectj.runtime.internal.cflowstack.ThreadStack

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Stack<E>
public Stack<E>
initialValue()

Overrides java.lang.ThreadLocal.initialValue.

Returns the current thread's "initial value" for this thread-local variable.
public void
Inherited from java.lang.ThreadLocal:
getremovesetwithInitial

Constructor Detail

ThreadStackImplback to summary
private ThreadStackImpl()

Method Detail

getThreadStackback to summary
public Stack<E> getThreadStack()

Implements org.aspectj.runtime.internal.cflowstack.ThreadStack.getThreadStack.

initialValueback to summary
public Stack<E> initialValue()

Overrides java.lang.ThreadLocal.initialValue.

Doc from java.lang.ThreadLocal.initialValue.

Returns the current thread's "initial value" for this thread-local variable. This method will be invoked the first time a thread accesses the variable with the get method, unless the thread previously invoked the set method, in which case the initialValue method will not be invoked for the thread. Normally, this method is invoked at most once per thread, but it may be invoked again in case of subsequent invocations of remove followed by get.

Returns:Stack<E>

the initial value for this thread-local

removeThreadStackback to summary
public void removeThreadStack()

Implements org.aspectj.runtime.internal.cflowstack.ThreadStack.removeThreadStack.