C# 클래스 Helios.Util.FastThreadLocal

파일 보기 프로젝트 열기: helios-io/helios 1 사용 예제들

공개 메소드들

메소드 설명
Destroy ( ) : void
Remove ( InternalThreadLocalMap threadLocalMap ) : void

Sets the value to uninitialized; a proceeding call to get() will trigger a call to GetInitialValue().

RemoveAll ( ) : void

Removes all {@link FastThreadLocal} variables bound to the current thread. This operation is useful when you are in a container environment, and you don't want to leave the thread local variables in the threads you do not manage.

보호된 메소드들

메소드 설명
AddToVariablesToRemove ( InternalThreadLocalMap threadLocalMap, FastThreadLocal variable ) : void
RemoveFromVariablesToRemove ( InternalThreadLocalMap threadLocalMap, FastThreadLocal variable ) : void

메소드 상세

AddToVariablesToRemove() 보호된 정적인 메소드

protected static AddToVariablesToRemove ( InternalThreadLocalMap threadLocalMap, FastThreadLocal variable ) : void
threadLocalMap InternalThreadLocalMap
variable FastThreadLocal
리턴 void

Destroy() 공개 정적인 메소드

public static Destroy ( ) : void
리턴 void

Remove() 공개 추상적인 메소드

Sets the value to uninitialized; a proceeding call to get() will trigger a call to GetInitialValue().
public abstract Remove ( InternalThreadLocalMap threadLocalMap ) : void
threadLocalMap InternalThreadLocalMap
리턴 void

RemoveAll() 공개 정적인 메소드

Removes all {@link FastThreadLocal} variables bound to the current thread. This operation is useful when you are in a container environment, and you don't want to leave the thread local variables in the threads you do not manage.
public static RemoveAll ( ) : void
리턴 void

RemoveFromVariablesToRemove() 보호된 정적인 메소드

protected static RemoveFromVariablesToRemove ( InternalThreadLocalMap threadLocalMap, FastThreadLocal variable ) : void
threadLocalMap InternalThreadLocalMap
variable FastThreadLocal
리턴 void