public static class MultiBackgroundInitializer.MultiBackgroundInitializerResults extends Object
MultiBackgroundInitializer. Objects of this inner
 class are returned by MultiBackgroundInitializer.initialize().
 They allow access to all result objects produced by the
 BackgroundInitializer objects managed by the owning instance. It
 is also possible to retrieve status information about single
 BackgroundInitializers, i.e. whether they completed normally or
 caused an exception.| Modifier and Type | Method and Description | 
|---|---|
| ConcurrentException | getException(String name)Returns the  ConcurrentExceptionobject that was thrown by theBackgroundInitializerwith the given name. | 
| BackgroundInitializer<?> | getInitializer(String name)Returns the  BackgroundInitializerwith the given name. | 
| Object | getResultObject(String name)Returns the result object produced by the  BackgroundInitializerwith the given name. | 
| Set<String> | initializerNames()Returns a set with the names of all  BackgroundInitializerobjects managed by theMultiBackgroundInitializer. | 
| boolean | isException(String name)Returns a flag whether the  BackgroundInitializerwith the
 given name caused an exception. | 
| boolean | isSuccessful()Returns a flag whether the whole initialization was successful. | 
public BackgroundInitializer<?> getInitializer(String name)
BackgroundInitializer with the given name. If the
 name cannot be resolved, an exception is thrown.name - the name of the BackgroundInitializerBackgroundInitializer with this nameNoSuchElementException - if the name cannot be resolvedpublic Object getResultObject(String name)
BackgroundInitializer with the given name. This is the object
 returned by the initializer's initialize() method. If this
 BackgroundInitializer caused an exception, null is
 returned. If the name cannot be resolved, an exception is thrown.name - the name of the BackgroundInitializerBackgroundInitializerNoSuchElementException - if the name cannot be resolvedpublic boolean isException(String name)
BackgroundInitializer with the
 given name caused an exception.name - the name of the BackgroundInitializerNoSuchElementException - if the name cannot be resolvedpublic ConcurrentException getException(String name)
ConcurrentException object that was thrown by the
 BackgroundInitializer with the given name. If this
 initializer did not throw an exception, the return value is
 null. If the name cannot be resolved, an exception is thrown.name - the name of the BackgroundInitializerNoSuchElementException - if the name cannot be resolvedpublic Set<String> initializerNames()
BackgroundInitializer
 objects managed by the MultiBackgroundInitializer.BackgroundInitializer objectspublic boolean isSuccessful()
Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.