Package org.apache.cassandra.io.sstable

Examples of org.apache.cassandra.io.sstable.SSTableLoaderWrapper.stream()


{
    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);
    }

    @Test
    public void testFifoAddAndRemove()
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.