All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.linkedin.restli.client.config.RequestConfigOverridesImpl Maven / Gradle / Ivy

There is a newer version: 4.0.1
Show newest version
package com.linkedin.restli.client.config;

import java.util.Optional;

class RequestConfigOverridesImpl implements RequestConfigOverrides {

  private final Optional> _timeoutMs;
  private final Optional>  _batchingEnabled;
  private final Optional> _maxBatchSize;

  RequestConfigOverridesImpl(Optional> timeoutMs, Optional> batchingEnabled, Optional> maxBatchSize) {
    _timeoutMs = timeoutMs;
    _batchingEnabled = batchingEnabled;
    _maxBatchSize = maxBatchSize;
  }

  @Override
  public Optional> getTimeoutMs() {
    return _timeoutMs;
  }

  @Override
  public Optional> isBatchingEnabled() {
    return _batchingEnabled;
  }

  @Override
  public Optional> getMaxBatchSize() {
    return _maxBatchSize;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy