Package com.cumulocity.sdk.client

Source Code of com.cumulocity.sdk.client.ClientConfiguration

package com.cumulocity.sdk.client;

import com.cumulocity.sdk.client.buffering.MemoryBasedPersistentProvider;
import com.cumulocity.sdk.client.buffering.PersistentProvider;

public class ClientConfiguration {

    private PersistentProvider persistentProvider;

    public ClientConfiguration() {
        this.persistentProvider = new MemoryBasedPersistentProvider();
    }
   
    public ClientConfiguration(PersistentProvider persistentProvider) {
        this.persistentProvider = persistentProvider;
    }

    public PersistentProvider getPersistentProvider() {
        return persistentProvider;
    }

}
TOP

Related Classes of com.cumulocity.sdk.client.ClientConfiguration

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.