brooklyn.util.task
[Java] Interface DeferredSupplier
com.google.common.base.Supplier
   brooklyn.util.task.DeferredSupplier
brooklyn.util.task.DeferredSupplier
- All Superinterfaces: 
- Supplier
public interface DeferredSupplier
extends Supplier
 A class that supplies objects of a single type. When used as a ConfigKey value,
 the evaluation is deferred until getConfig() is called. The returned value will then
 be coerced to the correct type. 
 
 Subsequent calls to getConfig will result in further calls to deferredProvider.get(), 
 rather than reusing the result. If you want to reuse the result, consider instead 
 using a Future.
 
 Note that this functionality replaces the ues of Closure in brooklyn 0.4.0, which 
 served the same purpose.
 
    
    
    | Method Summary | 
    
        
        | java.lang.Object | get()
 | 
    
    
     
    
    
        
        get
        @Override
public java.lang.Object get()
        
        - 
        
        
    
     
Brooklyn Multi-Cloud Application Management Platform 
 brooklyncentral.github.com. Apache License. © 2012.