org.jetbrains.jet.lang.resolve.lazy.storage
Class LockBasedLazyResolveStorageManager

java.lang.Object
  extended by org.jetbrains.jet.storage.LockBasedStorageManager
      extended by org.jetbrains.jet.lang.resolve.lazy.storage.LockBasedLazyResolveStorageManager
All Implemented Interfaces:
LazyResolveStorageManager, StorageManager

public class LockBasedLazyResolveStorageManager
extends LockBasedStorageManager
implements LazyResolveStorageManager


Field Summary
 
Fields inherited from class org.jetbrains.jet.storage.LockBasedStorageManager
lock, NO_LOCKS
 
Constructor Summary
LockBasedLazyResolveStorageManager()
           
 
Method Summary
 BindingTrace createSafeTrace(BindingTrace originalTrace)
           
<K,V> MemoizedFunctionToNotNull<K,V>
createWeaklyRetainedMemoizedFunction(jet.Function1<K,V> compute)
           
<K,V> MemoizedFunctionToNullable<K,V>
createWeaklyRetainedMemoizedFunctionWithNullableValues(jet.Function1<K,V> compute)
           
 
Methods inherited from class org.jetbrains.jet.storage.LockBasedStorageManager
compute, createLazyValue, createLazyValueWithPostCompute, createMemoizedFunction, createMemoizedFunction, createMemoizedFunctionWithNullableValues, createMemoizedFunctionWithNullableValues, createNullableLazyValue, createNullableLazyValueWithPostCompute, createRecursionTolerantLazyValue, createRecursionTolerantNullableLazyValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jetbrains.jet.storage.StorageManager
compute, createLazyValue, createLazyValueWithPostCompute, createMemoizedFunction, createMemoizedFunctionWithNullableValues, createNullableLazyValue, createNullableLazyValueWithPostCompute, createRecursionTolerantLazyValue, createRecursionTolerantNullableLazyValue
 

Constructor Detail

LockBasedLazyResolveStorageManager

public LockBasedLazyResolveStorageManager()
Method Detail

createWeaklyRetainedMemoizedFunction

@NotNull
public <K,V> MemoizedFunctionToNotNull<K,V> createWeaklyRetainedMemoizedFunction(@NotNull
                                                                                         jet.Function1<K,V> compute)
Specified by:
createWeaklyRetainedMemoizedFunction in interface LazyResolveStorageManager

createWeaklyRetainedMemoizedFunctionWithNullableValues

@NotNull
public <K,V> MemoizedFunctionToNullable<K,V> createWeaklyRetainedMemoizedFunctionWithNullableValues(@NotNull
                                                                                                            jet.Function1<K,V> compute)
Specified by:
createWeaklyRetainedMemoizedFunctionWithNullableValues in interface LazyResolveStorageManager

createSafeTrace

@NotNull
public BindingTrace createSafeTrace(@NotNull
                                            BindingTrace originalTrace)
Specified by:
createSafeTrace in interface LazyResolveStorageManager