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

net.ravendb.client.documents.session.ClusterTransactionOperations Maven / Gradle / Ivy

package net.ravendb.client.documents.session;

import net.ravendb.client.documents.operations.compareExchange.CompareExchangeValue;
import net.ravendb.client.documents.session.operations.lazy.LazyClusterTransactionOperations;

import java.util.Map;

public class ClusterTransactionOperations extends ClusterTransactionOperationsBase implements IClusterTransactionOperations {
    public ClusterTransactionOperations(DocumentSession session) {
        super(session);
    }

    @Override
    public ILazyClusterTransactionOperations lazily() {
        return new LazyClusterTransactionOperations(session);
    }

    @Override
    public  CompareExchangeValue getCompareExchangeValue(Class clazz, String key) {
        return getCompareExchangeValueInternal(clazz, key);
    }

    @Override
    public  Map> getCompareExchangeValues(Class clazz, String[] keys) {
        return getCompareExchangeValuesInternal(clazz, keys);
    }

    @Override
    public  Map> getCompareExchangeValues(Class clazz, String startsWith) {
        return getCompareExchangeValues(clazz, startsWith, 0, 25);
    }

    @Override
    public  Map> getCompareExchangeValues(Class clazz, String startsWith, int start) {
        return getCompareExchangeValues(clazz, startsWith, start, 25);
    }

    @Override
    public  Map> getCompareExchangeValues(Class clazz, String startsWith, int start, int pageSize) {
        return getCompareExchangeValuesInternal(clazz, startsWith, start, pageSize);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy