Package voldemort.client

Examples of voldemort.client.SystemStoreClient


    public void testIllegalSystemStore() {
        try {
            ClientConfig clientConfig = new ClientConfig();
            clientConfig.setBootstrapUrls(bootStrapUrls).setClientZoneId(this.clientZoneId);
            SystemStoreClientFactory<String, String> systemStoreFactory = new SystemStoreClientFactory<String, String>(clientConfig);
            SystemStoreClient sysVersionStore = systemStoreFactory.createSystemStore("test-store",
                                                                               this.clusterXml,
                                                                               null);

            fail("Should not execute this. We can only connect to system store with a 'voldsys$' prefix.");
        } catch(Exception e) {
View Full Code Here

TOP

Related Classes of voldemort.client.SystemStoreClient

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.