Package info.archinnov.achilles.embedded

Examples of info.archinnov.achilles.embedded.CassandraEmbeddedServer


    private void initResource(ConfigMap achillesConfig) {
        TypedMap cassandraConfig = buildConfigMap();
        buildAchillesConfigMap(achillesConfig);

        server = new CassandraEmbeddedServer(cassandraConfig, achillesConfig);
        pmf = server.getPersistenceManagerFactory(keyspaceToUse);
        manager = server.getPersistenceManager(keyspaceToUse);
        session = server.getNativeSession(keyspaceToUse);
    }
View Full Code Here


    public AchillesInternalCQLResource(String... tables) {
        super(tables);
        final TypedMap config = buildConfigMap();
        final ConfigMap achillesConfig = buildAchillesConfigMap();

        server = new CassandraEmbeddedServer(config, achillesConfig);
        pmf = server.getPersistenceManagerFactory(DEFAULT_ACHILLES_TEST_KEYSPACE_NAME);
        manager = server.getPersistenceManager(DEFAULT_ACHILLES_TEST_KEYSPACE_NAME);
        asyncManager = server.getAsyncManager(DEFAULT_ACHILLES_TEST_KEYSPACE_NAME);
        session = server.getNativeSession(DEFAULT_ACHILLES_TEST_KEYSPACE_NAME);
    }
View Full Code Here

    public AchillesInternalCQLResource(Steps cleanUpSteps, String... tables) {
        super(cleanUpSteps, tables);
        final TypedMap config = buildConfigMap();
        final ConfigMap achillesConfig = buildAchillesConfigMap();

        server = new CassandraEmbeddedServer(config, achillesConfig);
        pmf = server.getPersistenceManagerFactory(DEFAULT_ACHILLES_TEST_KEYSPACE_NAME);
        manager = server.getPersistenceManager(DEFAULT_ACHILLES_TEST_KEYSPACE_NAME);
        asyncManager = server.getAsyncManager(DEFAULT_ACHILLES_TEST_KEYSPACE_NAME);
        session = server.getNativeSession(DEFAULT_ACHILLES_TEST_KEYSPACE_NAME);
    }
View Full Code Here

        super(cleanUpSteps, tables);
        this.insertStrategy = insertStrategy;
        final TypedMap config = buildConfigMap();
        final ConfigMap achillesConfig = buildAchillesConfigMap();

        server = new CassandraEmbeddedServer(config, achillesConfig);
        pmf = server.getPersistenceManagerFactory(DEFAULT_ACHILLES_TEST_KEYSPACE_NAME);
        manager = server.getPersistenceManager(DEFAULT_ACHILLES_TEST_KEYSPACE_NAME);
        asyncManager = server.getAsyncManager(DEFAULT_ACHILLES_TEST_KEYSPACE_NAME);
        session = server.getNativeSession(DEFAULT_ACHILLES_TEST_KEYSPACE_NAME);
    }
View Full Code Here

TOP

Related Classes of info.archinnov.achilles.embedded.CassandraEmbeddedServer

Copyright © 2018 www.massapicom. 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.