Examples of subMapTimeout()


Examples of net.tomp2p.storage.Storage.subMapTimeout()

   
    @Test
    public void testTTLLeak() throws Exception {
        Storage storageM = createStorage();
        testTTLLeak(new StorageLayer(storageM));
        Assert.assertEquals(0, storageM.subMapTimeout(Long.MAX_VALUE).size());
        storageM.close();
    }
   
    private void testTTLLeak(StorageLayer storage) throws Exception {
        Data data = new Data("string");
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.