Package org.geotools.caching.spatialindex

Examples of org.geotools.caching.spatialindex.Node.clear()


        ret = nodeToEvict.getDataCount();
        // lets first evict all the children
        for( int i = 0; i < nodeToEvict.getChildrenCount(); i++ ) {
            Node n = readNode(nodeToEvict.getChildIdentifier(i));
            ret += n.getDataCount();
            n.clear();
            writeNode(n);
            evictcnt++;
        }
        // now evict the main node
        nodeToEvict.clear();
View Full Code Here


            NodeIdentifier next = null;
            int cnt = 0;
            while ((next = cc.getNext()) != null) {
              Node n = readNode(next);
              cnt += n.getDataCount();
              n.clear();
              writeNode(n);
              getStatistics().addToEvictionCounter(1);
            }
            getStatistics().addToDataCounter(-cnt);
            return;
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.