public synchronized void setOptions()

in src/main/java/com/microsoft/azure/datalake/store/ADLStoreClient.java [1071:1084]


    public synchronized void setOptions(ADLStoreOptions o) throws IOException {
        if (o.getFilePathPrefix() != null) this.setFilePathPrefix(o.getFilePathPrefix());
        if (o.isUsingInsecureTransport()) this.setInsecureTransport();
        if (o.isThrowingRemoteExceptionsEnabled()) this.enableThrowingRemoteExceptions();
        if (o.getUserAgentSuffix() != null) this.setUserAgentSuffix(o.getUserAgentSuffix());
        if (o.getReadAheadQueueDepth() >= 0 ) this.readAheadQueueDepth = o.getReadAheadQueueDepth();
        if (o.getDefaultTimeout() > 0) this.timeout = o.getDefaultTimeout();
        this.alterCipherSuits = o.shouldAlterCipherSuits();
        this.sslChannelMode = o.getSSLChannelMode();
        this.exponentialFactor = o.getExponentialFactor();
        this.exponentialRetryInterval = o.getExponentialRetryInterval();
        this.maxRetries = o.getMaxRetries();
        this.enableConditionalCreate = o.shouldEnableConditionalCreate();
    }