示例#1
0
        public MesosExecutorDriver(IExecutor executor)
        {
            if (executor == null) throw new ArgumentNullException(nameof(executor));

            Executor = executor;
            Id = DriverRegistry.Register(this);
            _bridge = new ExecutorDriverBridge();
            _bridge.Initialize (Id);
        }
示例#2
0
        public MesosExecutorDriver(IExecutor executor)
        {
            if (executor == null)
            {
                throw new ArgumentNullException(nameof(executor));
            }

            Executor = executor;
            Id       = DriverRegistry.Register(this);
            _bridge  = new ExecutorDriverBridge();
            _bridge.Initialize(Id);
        }