Package org.corrib.treemaps.caching

Examples of org.corrib.treemaps.caching.CachingDirectoriesService.submitTask()


        CachingDirectoriesService cds = new CachingDirectoriesService(
            this.bookmarking, TreeMappableTag.get(amap));

        // System.out.println("Adding dirs - starting");
        FutureTask<?> taskDir = cds.submitTask();
        // wait for completition
        taskDir.get();

        // just in case - in order to not get banned
        Thread.sleep(2000);
View Full Code Here


        //System.out.println("created tags: "+amap.length);
       
        CachingDirectoriesService cds = new CachingDirectoriesService(this.bookmarking, TreeMappableTag.get(amap),false);
       
        //System.out.println("Adding dirs - starting");
        FutureTask<?> taskDir = cds.submitTask();
        //wait for completition
        taskDir.get();
       
        //just in case - in order to not get banned
        Thread.sleep(2000);
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.