new File(directory),
Integer.parseInt(size), "64".equals(mode))
.setPauseCompaction(pauseCompaction);
delegate = new SegmentNodeStore(store);
observerTracker = new ObserverTracker(delegate);
observerTracker.start(context.getBundleContext());
Dictionary<String, String> props = new Hashtable<String, String>();
props.put(Constants.SERVICE_PID, SegmentNodeStore.class.getName());
registration = context.getBundleContext().registerService(NodeStore.class.getName(), this, props);