Package sil.storagemanager

Examples of sil.storagemanager.MemoryStorageManager


    int maxNodeEntries = Integer.parseInt(props.getProperty("MaxNodeEntries", "0"));
   
    float fillFactor = (float) minNodeEntries / (float) maxNodeEntries;
   
    // create a memory-based storage manager
    storageManager = new MemoryStorageManager();
    PropertySet propertySet = new PropertySet();
    propertySet.setProperty("FillFactor", new Double(fillFactor));
    propertySet.setProperty("IndexCapacity", new Integer(maxNodeEntries));
    propertySet.setProperty("LeafCapacity", new Integer(maxNodeEntries));
    propertySet.setProperty("Dimension", new Integer(2));
View Full Code Here


    return null;
  }

  public static IStorageManager createMemoryStorageManager(PropertySet ps)
  {
    IStorageManager sm = (IStorageManager) new MemoryStorageManager();
    return sm;
  }
View Full Code Here

TOP

Related Classes of sil.storagemanager.MemoryStorageManager

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.