This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Common.Services.ServiceConfiguration Class Reference
Apache REEF  0.15.0
Retainable Evaluator Execution Framework
Static Public Attributes | Properties | List of all members
Org.Apache.REEF.Common.Services.ServiceConfiguration Class Reference

Configuration module for services. More...

Inherits Org.Apache.REEF.Tang.Formats.ConfigurationModuleBuilder.

Static Public Attributes

static readonly OptionalParameter< object > Services = new OptionalParameter<object>()
 A set of services to instantiate. More...
 
static readonly OptionalImpl< IObserver< IContextStart > > OnContextStarted = new OptionalImpl<IObserver<IContextStart>>()
 
static readonly OptionalImpl< IObserver< IContextStop > > OnContextStop = new OptionalImpl<IObserver<IContextStop>>()
 
static readonly OptionalImpl< IObserver< ITaskStart > > OnTaskStarted = new OptionalImpl<IObserver<ITaskStart>>()
 
static readonly OptionalImpl< IObserver< ITaskStop > > OnTaskStop = new OptionalImpl<IObserver<ITaskStop>>()
 

Properties

static ConfigurationModule ConfigurationModule [get]
 

Additional Inherited Members

- Public Member Functions inherited from Org.Apache.REEF.Tang.Formats.ConfigurationModuleBuilder
 ConfigurationModuleBuilder ()
 
ConfigurationModuleBuilder Merge (ConfigurationModule d)
 
ConfigurationModuleBuilder BindSetEntry< U, T > (GenericType< U > iface, string impl)
 
ConfigurationModuleBuilder BindSetEntry< U, V, T > (GenericType< U > iface, GenericType< V > impl)
 
ConfigurationModuleBuilder BindSetEntry< U, T > (GenericType< U > iface, IImpl< T > opt)
 
ConfigurationModuleBuilder BindSetEntry< U, T > (GenericType< U > iface, IParam< T > opt)
 
ConfigurationModuleBuilder BindList< U, T > (GenericType< U > iface, IList< string > impl)
 
ConfigurationModuleBuilder BindList< U, T > (GenericType< U > iface, IImpl< IList< T >> opt)
 
ConfigurationModuleBuilder BindList< U, T > (GenericType< U > iface, IParam< IList< T >> opt)
 
ConfigurationModuleBuilder BindImplementation< U, T > (GenericType< U > iface, GenericType< T > impl)
 
ConfigurationModuleBuilder BindImplementation< T > (GenericType< T > iface, string impl)
 
ConfigurationModuleBuilder BindImplementation< U, T > (GenericType< T > iface, IImpl< U > opt)
 
ConfigurationModuleBuilder BindNamedParameter< U, T > (GenericType< U > name, string value)
 
ConfigurationModuleBuilder BindNamedParameter< U, T > (GenericType< U > name, IParam< T > opt)
 
ConfigurationModuleBuilder BindNamedParameter< U, V, T > (GenericType< U > iface, GenericType< V > impl)
 
ConfigurationModuleBuilder BindNamedParameter< U, T > (GenericType< U > iface, GenericType< T > impl)
 
ConfigurationModuleBuilder BindNamedParameter< U, V, T > (GenericType< U > iface, IImpl< V > opt)
 
ConfigurationModuleBuilder BindNamedParameter< U, T > (GenericType< U > iface, IImpl< T > opt)
 
ConfigurationModuleBuilder BindConstructor< T, U > (GenericType< T > clazz, GenericType< U > constructor)
 
ConfigurationModuleBuilder BindConstructor< T, U > (GenericType< T > cons, IImpl< U > v)
 
ConfigurationModule Build ()
 
ConfigurationModuleBuilder DeepCopy ()
 
string ToString (ISet< FieldInfo > s)
 
- Public Attributes inherited from Org.Apache.REEF.Tang.Formats.ConfigurationModuleBuilder
readonly ICsConfigurationBuilder B = TangFactory.GetTang().NewConfigurationBuilder()
 
readonly MonotonicHashSet< FieldInfo > ReqDecl = new MonotonicHashSet<FieldInfo>()
 
readonly MonotonicHashSet< FieldInfo > OptDecl = new MonotonicHashSet<FieldInfo>()
 
readonly MonotonicHashSet< object > SetOpts = new MonotonicHashSet<object>()
 
readonly MonotonicHashMap< object, FieldInfo > Map = new MonotonicHashMap<object, FieldInfo>()
 
readonly MonotonicHashMap< Type, object > FreeImpls = new MonotonicHashMap<Type, object>()
 
readonly MonotonicHashMap< Type, object > FreeParams = new MonotonicHashMap<Type, object>()
 

Detailed Description

Configuration module for services.

The configuration created here can be passed alongside a ContextConfiguration to form a context. Different from bindings made in the ContextConfiguration, those made here will be passed along to child context.

Member Data Documentation

readonly OptionalImpl<IObserver<IContextStart> > Org.Apache.REEF.Common.Services.ServiceConfiguration.OnContextStarted = new OptionalImpl<IObserver<IContextStart>>()
static
readonly OptionalImpl<IObserver<IContextStop> > Org.Apache.REEF.Common.Services.ServiceConfiguration.OnContextStop = new OptionalImpl<IObserver<IContextStop>>()
static
readonly OptionalImpl<IObserver<ITaskStart> > Org.Apache.REEF.Common.Services.ServiceConfiguration.OnTaskStarted = new OptionalImpl<IObserver<ITaskStart>>()
static
readonly OptionalImpl<IObserver<ITaskStop> > Org.Apache.REEF.Common.Services.ServiceConfiguration.OnTaskStop = new OptionalImpl<IObserver<ITaskStop>>()
static
readonly OptionalParameter<object> Org.Apache.REEF.Common.Services.ServiceConfiguration.Services = new OptionalParameter<object>()
static

A set of services to instantiate.

All classes given here will be instantiated in the context, and their references will be made available to child context and tasks.

Property Documentation

ConfigurationModule Org.Apache.REEF.Common.Services.ServiceConfiguration.ConfigurationModule
staticget

The documentation for this class was generated from the following file: