- private static final int DEFAULT_CACHE_SIZE = 1024;
-
- protected String name = DEFAULT_NAME;
- protected StorageLevel storageLevel = StorageLevel.DISK;
- protected File directory = new File(DEFAULT_DIRECTORY);
- protected Namespace namespace;
- protected int maxSegmentSize = DEFAULT_MAX_SEGMENT_SIZE;
- protected int maxEntrySize = DEFAULT_MAX_ENTRY_SIZE;
- protected int maxEntriesPerSegment = DEFAULT_MAX_ENTRIES_PER_SEGMENT;
- protected double indexDensity = DEFAULT_INDEX_DENSITY;
- protected int cacheSize = DEFAULT_CACHE_SIZE;
+
+ private String name = DEFAULT_NAME;
+ private StorageLevel storageLevel = StorageLevel.DISK;
+ private File directory = new File(DEFAULT_DIRECTORY);
+ private Namespace namespace;
+ private int maxSegmentSize = DEFAULT_MAX_SEGMENT_SIZE;
+ private int maxEntrySize = DEFAULT_MAX_ENTRY_SIZE;
+ private int maxEntriesPerSegment = DEFAULT_MAX_ENTRIES_PER_SEGMENT;
+ private double indexDensity = DEFAULT_INDEX_DENSITY;