Apache REEF  0.14.0
Retainable Evaluator Execution Framework
Static Public Member Functions | Properties | List of all members
Org.Apache.REEF.Driver.Bridge.ClrHandlerHelper Class Reference

Static Public Member Functions

static ulong CreateHandler (object handler)
 Creates an InterOp handle for .NET EventHandlers. More...
 
static void FreeHandle (ulong handle)
 Frees a .NET handle. More...
 
static void SetMemoryGranuality (int granularity)
 Sets the memory granularity in megabytes for the Evaluator Descriptors. More...
 
static ulong CreateNullHandler ()
 Returns the null handle not used on the Java side (i.e. More...
 
static ISet< string > GetCommandLineArguments ()
 Gets the command line arguments as specified in DriverBridgeConfigurationOptions.ArgumentSets. More...
 
static void SupplyAdditionalClassPath (params string[] classPaths)
 Allows additional Java classes to be included into the classpath by the user. More...
 
static void GenerateClassHierarchy (ISet< string > clrDlls)
 Generates the class hierarchy binary to the current directory into a file named Constants.ClassHierarchyBin. More...
 
static string GetAssembliesListForReefDriverApp ()
 Gets the list of assemblies needed for the REEF driver. More...
 
static void CopyDllsToAppDirectory (ISet< string > dlls)
 Creates a new local directory Constants.DriverAppDirectory at the current directory and copies all .dll files as specified by the input parameter dlls from the current directory into the new directory. More...
 

Properties

static string[] ReefAssemblies [get]
 The set of REEF assemblies required for the Driver. More...
 

Member Function Documentation

static void Org.Apache.REEF.Driver.Bridge.ClrHandlerHelper.CopyDllsToAppDirectory ( ISet< string >  dlls)
inlinestatic

Creates a new local directory Constants.DriverAppDirectory at the current directory and copies all .dll files as specified by the input parameter dlls from the current directory into the new directory.

Parameters
dllsThe set of DLLs to copy from the current directory
static ulong Org.Apache.REEF.Driver.Bridge.ClrHandlerHelper.CreateHandler ( object  handler)
inlinestatic

Creates an InterOp handle for .NET EventHandlers.

Parameters
handlerThe EventHandler
Returns
The InterOp handle
static ulong Org.Apache.REEF.Driver.Bridge.ClrHandlerHelper.CreateNullHandler ( )
inlinestatic

Returns the null handle not used on the Java side (i.e.

0).

Returns
The null handle
static void Org.Apache.REEF.Driver.Bridge.ClrHandlerHelper.FreeHandle ( ulong  handle)
inlinestatic

Frees a .NET handle.

Parameters
handleThe handle to free
static void Org.Apache.REEF.Driver.Bridge.ClrHandlerHelper.GenerateClassHierarchy ( ISet< string >  clrDlls)
inlinestatic

Generates the class hierarchy binary to the current directory into a file named Constants.ClassHierarchyBin.

Parameters
clrDllsThe set of DLLs generating the class hierarchy
static string Org.Apache.REEF.Driver.Bridge.ClrHandlerHelper.GetAssembliesListForReefDriverApp ( )
inlinestatic

Gets the list of assemblies needed for the REEF driver.

Returns
A whitespace separated string consisting of all the required driver assemblies
static ISet<string> Org.Apache.REEF.Driver.Bridge.ClrHandlerHelper.GetCommandLineArguments ( )
inlinestatic

Gets the command line arguments as specified in DriverBridgeConfigurationOptions.ArgumentSets.

Returns
The set of command line arguments
static void Org.Apache.REEF.Driver.Bridge.ClrHandlerHelper.SetMemoryGranuality ( int  granularity)
inlinestatic

Sets the memory granularity in megabytes for the Evaluator Descriptors.

Parameters
granularityThe memory granularity in megabytes
static void Org.Apache.REEF.Driver.Bridge.ClrHandlerHelper.SupplyAdditionalClassPath ( params string[]  classPaths)
inlinestatic

Allows additional Java classes to be included into the classpath by the user.

Generates a file named Constants.GlobalUserSuppliedJavaLibraries in the executing directory containing classpath information.

Parameters
classPathsclasspaths to the Java classes

Property Documentation

string [] Org.Apache.REEF.Driver.Bridge.ClrHandlerHelper.ReefAssemblies
staticget

The set of REEF assemblies required for the Driver.


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