예제 #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);
        }