예제 #1
0
 private REEFIMRUClient(IREEFClient reefClient, AvroConfigurationSerializer configurationSerializer,
                        JobSubmissionBuilderFactory jobSubmissionBuilderFactory)
 {
     _reefClient = reefClient;
     _configurationSerializer     = configurationSerializer;
     _jobSubmissionBuilderFactory = jobSubmissionBuilderFactory;
 }
예제 #2
0
 internal YarnJobSubmissionResult(IREEFClient reefClient,
                                  string filePath,
                                  int numberOfRetries,
                                  int retryInterval)
     : base(reefClient, filePath, numberOfRetries, retryInterval)
 {
 }
예제 #3
0
 private REEFIMRUClient(
     IREEFClient reefClient,
     AvroConfigurationSerializer configurationSerializer,
     JobRequestBuilder jobRequestBuilder)
 {
     _reefClient = reefClient;
     _configurationSerializer = configurationSerializer;
     _jobRequestBuilder       = jobRequestBuilder;
 }
예제 #4
0
        internal JobSubmissionResult(IREEFClient reefClient, string filePath)
        {
            _reefClient = reefClient;
            _client     = new HttpClient
            {
                Timeout = TimeSpan.FromSeconds(SecondsForHttpClientTimeout),
            };
            _client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue(AppJson));

            _driverUrl = GetDriverUrl(filePath);
        }
예제 #5
0
        internal JobSubmissionResult(IREEFClient reefClient, string filePath)
        {
            _reefClient = reefClient;
            _client = new HttpClient
            {
                Timeout = TimeSpan.FromSeconds(SecondsForHttpClientTimeout),
            };
            _client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue(AppJson));

            _driverUrl = GetDriverUrl(filePath);
        }
예제 #6
0
 internal AzureBatchJobSubmissionResult(IREEFClient reefClient,
                                        string filePath,
                                        string jobId,
                                        int numberOfRetries,
                                        int retryInterval,
                                        AzureBatchService azbatchService) : base(reefClient, filePath, numberOfRetries, retryInterval)
 {
     _jobId             = jobId;
     _azurebatchService = azbatchService;
     _policy            = new RetryPolicy <AllErrorsTransientStrategy>(numberOfRetries, TimeSpan.FromMilliseconds(retryInterval));
 }
예제 #7
0
        internal JobSubmissionResult(IREEFClient reefClient, string filePath, int numberOfRetries, int retryInterval)
        {
            _reefClient = reefClient;
            _client     = new HttpClient
            {
                Timeout = TimeSpan.FromSeconds(SecondsForHttpClientTimeout),
            };
            _client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue(AppJson));

            _filePath = filePath;

            _numberOfRetries = numberOfRetries;
            _retryInterval   = TimeSpan.FromMilliseconds(retryInterval);
        }
예제 #8
0
 private AllHandlers(IREEFClient reefClient, JobSubmissionBuilderFactory jobSubmissionBuilderFactory)
 {
     _reefClient = reefClient;
     _jobSubmissionBuilderFactory = jobSubmissionBuilderFactory;
 }
예제 #9
0
 private AllHandlers(IREEFClient reefClient, JobRequestBuilder jobRequestBuilder)
 {
     _reefClient = reefClient;
     _jobRequestBuilder = jobRequestBuilder;
 }
예제 #10
0
 private AllHandlers(IREEFClient reefClient, JobRequestBuilder jobRequestBuilder)
 {
     _reefClient        = reefClient;
     _jobRequestBuilder = jobRequestBuilder;
 }
예제 #11
0
 private LoadGenerator(IREEFClient reefClient, JobRequestBuilder jobRequestBuilder)
 {
     _reefClient        = reefClient;
     _jobRequestBuilder = jobRequestBuilder;
 }
예제 #12
0
 private HelloREEF(IREEFClient reefClient, JobRequestBuilder jobRequestBuilder)
 {
     _reefClient        = reefClient;
     _jobRequestBuilder = jobRequestBuilder;
 }
예제 #13
0
 private LocalTestRunner(IREEFClient client)
 {
     _client = client;
 }
예제 #14
0
 internal YarnJobSubmissionResult(IREEFClient reefClient, string filePath) 
     : base(reefClient, filePath)
 {
 }
예제 #15
0
 private HelloREEF(IREEFClient reefClient, JobSubmissionBuilderFactory jobSubmissionBuilderFactory)
 {
     _reefClient = reefClient;
     _jobSubmissionBuilderFactory = jobSubmissionBuilderFactory;
 }
예제 #16
0
 private DriverRestart(IREEFClient reefClient, JobRequestBuilder jobRequestBuilder)
 {
     _reefClient = reefClient;
     _jobRequestBuilder = jobRequestBuilder;
 }
예제 #17
0
 private DriverRestart(IREEFClient reefClient, JobSubmissionBuilderFactory jobSubmissionBuilderFactory)
 {
     _reefClient = reefClient;
     _jobSubmissionBuilderFactory = jobSubmissionBuilderFactory;
 }
예제 #18
0
 private DriverRestart(IREEFClient reefClient, JobRequestBuilder jobRequestBuilder)
 {
     _reefClient        = reefClient;
     _jobRequestBuilder = jobRequestBuilder;
 }
예제 #19
0
 internal LocalJobSubmissionResult(IREEFClient reefClient, string filePath)
     : base(reefClient, filePath)
 {
 }
예제 #20
0
 private HelloREEF(IREEFClient reefClient)
 {
     _reefClient = reefClient;
 }
예제 #21
0
 private HelloREEF(IREEFClient reefClient, JobSubmissionBuilderFactory jobSubmissionBuilderFactory)
 {
     _reefClient = reefClient;
     _jobSubmissionBuilderFactory = jobSubmissionBuilderFactory;
 }
예제 #22
0
 private DriverRestart(IREEFClient reefClient, JobSubmissionBuilderFactory jobSubmissionBuilderFactory)
 {
     _reefClient = reefClient;
     _jobSubmissionBuilderFactory = jobSubmissionBuilderFactory;
 }
예제 #23
0
 private AllHandlers(IREEFClient reefClient, JobSubmissionBuilderFactory jobSubmissionBuilderFactory)
 {
     _reefClient = reefClient;
     _jobSubmissionBuilderFactory = jobSubmissionBuilderFactory;
 }
예제 #24
0
파일: HelloREEF.cs 프로젝트: beomyeol/reef
 private HelloREEF(IREEFClient reefClient, JobRequestBuilder jobRequestBuilder)
 {
     _reefClient = reefClient;
     _jobRequestBuilder = jobRequestBuilder;
 }