blob: cadb904198f87c2ed53c81af8fd58213287ad5a0 [file] [log] [blame]
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
using System;
namespace Org.Apache.REEF.Driver
{
public static class Constants
{
/// <summary>
/// Null handler that is not used on Java side.
/// </summary>
public const ulong NullHandler = 0;
/// <summary>
/// The default memory granularity for evaluators.
/// </summary>
public const int DefaultMemoryGranularity = 1024;
/// <summary>
/// The directory to load driver DLLs.
/// </summary>
public const string DriverAppDirectory = "ReefDriverAppDlls";
public const string BridgeLaunchClass = "org.apache.reef.javabridge.generic.Launch";
/// <summary>
/// The direct launcher class.
/// </summary>
public const string DirectREEFLauncherClass = "org.apache.reef.runtime.common.REEFLauncher";
/// <summary>
/// Configuration for Java CLR logging.
/// </summary>
public const string JavaToCLRLoggingConfig = "-Djava.util.logging.config.class=org.apache.reef.util.logging.CLRLoggingConfig";
/// <summary>
/// Configuration for Java verbose logging.
/// </summary>
public const string JavaVerboseLoggingConfig = "-Djava.util.logging.config.class=org.apache.reef.util.logging.Config";
}
}