Package graphql.util
Class LockKit.ComputedOnce
- java.lang.Object
-
- graphql.util.LockKit.ComputedOnce
-
- Enclosing class:
- LockKit
public static class LockKit.ComputedOnce extends java.lang.Object
Will allow for lazy computation of some values just once
-
-
Constructor Summary
Constructors Constructor Description ComputedOnce()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasBeenComputed()
void
runOnce(java.lang.Runnable codeToRunOnce)
-