| 
 | Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectbrooklyn.util.javalang.AtomicReferences
public class AtomicReferences
| Method Summary | |
|---|---|
| static boolean | setIfDifferent(java.util.concurrent.atomic.AtomicBoolean ref, boolean value)sets the atomic reference to the given value, and returns whether there is any change | 
| static boolean | setIfDifferent(java.util.concurrent.atomic.AtomicReference ref, java.lang.Object value)sets the atomic reference to the given value, and returns whether there is any change | 
| static Supplier | supplier(java.util.concurrent.atomic.AtomicReference ref)returns the given atomic as a Supplier | 
| Methods inherited from class java.lang.Object | |
|---|---|
| java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() | 
| Method Detail | 
|---|
public static boolean setIfDifferent(java.util.concurrent.atomic.AtomicBoolean ref, boolean value)
public static boolean setIfDifferent(java.util.concurrent.atomic.AtomicReference ref, java.lang.Object value)
public static Supplier supplier(java.util.concurrent.atomic.AtomicReference ref)
Brooklyn Multi-Cloud Application Management Platform 
 brooklyncentral.github.com. Apache License. © 2012.