public class GridAtomicInitializer<T> extends Object
Constructor and Description |
---|
GridAtomicInitializer() |
public T init(Callable<T> c) throws IgniteCheckedException
c
- Initialization operation.IgniteCheckedException
- If failed.public boolean succeeded()
public T result()
public boolean await() throws IgniteInterruptedCheckedException
true
If initialization was completed successfully.IgniteInterruptedCheckedException
- If thread was interrupted.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017