com.linkedin.restli.client.config.RequestConfigOverridesImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of parseq-restli-client Show documentation
Show all versions of parseq-restli-client Show documentation
Uploads all artifacts belonging to configuration ':parseq-restli-client:archives'
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