Package com.netflix.priam

Examples of com.netflix.priam.IConfiguration


public class StreamingTest
{
    public void teststream() throws IOException, InterruptedException
    {
        IConfiguration config = new FakeConfiguration("test", "cass_upg107_ccs", "test", "ins_id");
        SSTableLoaderWrapper loader = new SSTableLoaderWrapper(config, new StandardTuner(config));
        Collection<PendingFile> ssts = loader.stream(new File("/tmp/Keyspace2/"));
        loader.deleteCompleted(ssts);
    }
View Full Code Here


    @Test
    public void testAbstractPath()
    {
        Injector injector = Guice.createInjector(new BRTestModule());
        IConfiguration conf = injector.getInstance(IConfiguration.class);
        InstanceIdentity factory = injector.getInstance(InstanceIdentity.class);

        FifoQueue<AbstractBackupPath> queue = new FifoQueue<AbstractBackupPath>(10);
        for (int i = 10; i < 30; i++)
        {
View Full Code Here

    CassandraProcessManager cpm;

    @Before
    public void setup()
    {
        IConfiguration config = new FakeConfiguration("us-east-1", "test_cluster", "us-east-1a", "i-2378afd3");
        cpm = new CassandraProcessManager(config, new FakeSleeper());
    }
View Full Code Here

        return injector;
    }

    static void initialize()
    {
        IConfiguration conf = getInjector().getInstance(IConfiguration.class);
        conf.intialize();
    }
View Full Code Here

TOP

Related Classes of com.netflix.priam.IConfiguration

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.