Package jetbrains.mps.smodel.language
Class ConceptInLoadingStorage<T>
- java.lang.Object
 - 
- jetbrains.mps.smodel.language.ConceptInLoadingStorage<T>
 
 
- 
public final class ConceptInLoadingStorage<T> extends Object
T could be a concept fq name or any other id-like object Thread-safe storage class. Using ThreadLocal to get rid of concurrency flaws. ConcurrentMap is not suitable since, for example, during the parallel generation we are likely to getIllegalConceptDescriptorfor some of the core baseLanguage concepts (e.g. ConstructorDeclaration). Illegal behavior descriptor breaks the generation, so that implementation is unacceptable. We do need such a storage because there might be invocation cycle Created by apyshkin on 7/15/15. 
- 
- 
Constructor Summary
Constructors Constructor Description ConceptInLoadingStorage() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinishLoading(T concept)booleanstartLoading(T concept) 
 -