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

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

Static Public Attributes

static readonly RequiredParameter< string > Identifier = new RequiredParameter<string>()
 The identifier of the context. More...
 
static readonly OptionalImpl< IObserver< IContextStart > > OnContextStart = new OptionalImpl<IObserver<IContextStart>>()
 for context start. More...
 
static readonly OptionalImpl< IObserver< IContextStop > > OnContextStop = new OptionalImpl<IObserver<IContextStop>>()
 for context stop. More...
 
static readonly OptionalImpl< IObserver< ITaskStart > > OnTaskStart = new OptionalImpl<IObserver<ITaskStart>>()
 to be informed right before a Task enters its call() method. More...
 
static readonly OptionalImpl< IObserver< ITaskStop > > OnTaskStop = new OptionalImpl<IObserver<ITaskStop>>()
 to be informed right after a Task exits its call() method. More...
 
static readonly OptionalImpl< IContextMessageSourceOnSendMessage = new OptionalImpl<IContextMessageSource>()
 Source of messages to be called whenever the evaluator is about to make a heartbeat. More...
 
static readonly OptionalImpl< IContextMessageHandlerOnMessage = new OptionalImpl<IContextMessageHandler>()
 Driver has sent the context a message, and this parameter is used to register a handler on the context for processing that message. More...
 

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>()
 

Member Data Documentation

readonly RequiredParameter<string> Org.Apache.REEF.Common.Context.ContextConfiguration.Identifier = new RequiredParameter<string>()
static

The identifier of the context.

readonly OptionalImpl<IObserver<IContextStart> > Org.Apache.REEF.Common.Context.ContextConfiguration.OnContextStart = new OptionalImpl<IObserver<IContextStart>>()
static

for context start.

Defaults to logging if not bound.

readonly OptionalImpl<IObserver<IContextStop> > Org.Apache.REEF.Common.Context.ContextConfiguration.OnContextStop = new OptionalImpl<IObserver<IContextStop>>()
static

for context stop.

Defaults to logging if not bound.

readonly OptionalImpl<IContextMessageHandler> Org.Apache.REEF.Common.Context.ContextConfiguration.OnMessage = new OptionalImpl<IContextMessageHandler>()
static

Driver has sent the context a message, and this parameter is used to register a handler on the context for processing that message.

readonly OptionalImpl<IContextMessageSource> Org.Apache.REEF.Common.Context.ContextConfiguration.OnSendMessage = new OptionalImpl<IContextMessageSource>()
static

Source of messages to be called whenever the evaluator is about to make a heartbeat.

readonly OptionalImpl<IObserver<ITaskStart> > Org.Apache.REEF.Common.Context.ContextConfiguration.OnTaskStart = new OptionalImpl<IObserver<ITaskStart>>()
static

to be informed right before a Task enters its call() method.

readonly OptionalImpl<IObserver<ITaskStop> > Org.Apache.REEF.Common.Context.ContextConfiguration.OnTaskStop = new OptionalImpl<IObserver<ITaskStop>>()
static

to be informed right after a Task exits its call() method.

Property Documentation

ConfigurationModule Org.Apache.REEF.Common.Context.ContextConfiguration.ConfigurationModule
staticget

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