public T GetSnapshot(){ return dataPoint.get().Clone(); } private boolean setDataPoint(T expected, T newValue){ return dataPoint.compareAndSet(expected, newValue); } }
10: final AtomicReference<String> ref = new AtomicReference<String>(); 11: Thread t = new Thread() { - 21: return ref.get(); Full Snippet Info
67: private AtomicReference<Thread> waitingRecoveryThread = new AtomicReference<>(); Full Snippet Info
73: return retVal.get(); Full Snippet Info