public class GridAtomicInitializer<T> extends Object
| Constructor and Description |
|---|
GridAtomicInitializer() |
public T init(Callable<T> c) throws GridException
c - Initialization operation.GridException - If failed.public boolean succeeded()
public T result()
public boolean await()
throws GridInterruptedException
true If initialization was completed successfully.GridInterruptedException - If thread was interrupted.Copyright © 2014. All rights reserved.