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

com.jivesoftware.os.tasmo.local.RowColumnValueStoreUtil Maven / Gradle / Ivy

package com.jivesoftware.os.tasmo.local;

import com.jivesoftware.os.jive.utils.id.ImmutableByteArray;
import com.jivesoftware.os.jive.utils.id.ObjectId;
import com.jivesoftware.os.jive.utils.id.TenantIdAndCentricId;
import com.jivesoftware.os.jive.utils.row.column.value.store.api.RowColumnValueStore;
import com.jivesoftware.os.jive.utils.row.column.value.store.inmemory.RowColumnValueStoreImpl;
import com.jivesoftware.os.tasmo.model.process.OpaqueFieldValue;
import com.jivesoftware.os.tasmo.model.process.WrittenEventProvider;
import com.jivesoftware.os.tasmo.reference.lib.ClassAndField_IdKey;
import com.jivesoftware.os.tasmo.view.reader.service.shared.ViewValue;


/**
 *
 */
public class RowColumnValueStoreUtil {

    public RowColumnValueStoreProvider getInMemoryRowColumnValueStoreProvider(String env, WrittenEventProvider writtenEventProvider) {
        return new RowColumnValueStoreProvider() {

            @Override
            public RowColumnValueStore concurrencyStore() {
                return new RowColumnValueStoreImpl<>();
            }

            @Override
            public RowColumnValueStore eventStore() {
                return new RowColumnValueStoreImpl<>();
            }

            @Override
            public RowColumnValueStore viewValueStore() {
                return new RowColumnValueStoreImpl<>();
            }

            @Override
            public RowColumnValueStore multiLinks() {
                return new RowColumnValueStoreImpl<>();
            }

            @Override
            public RowColumnValueStore multiBackLinks() {
                return new RowColumnValueStoreImpl<>();
            }

            @Override
            public void shutdownUnderlyingStores() throws Exception {
            }


        };
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy