boolean toStart = false;
pojo = PojoCacheFactory.createCache(new Configuration(), toStart);
pojo.start(); // if toStart above is true, it will starts the cache automatically.
searchableCache = new SearchableCacheFactory().createSearchableCache(pojo.getCache(), Person.class);
person1 = new Person();
person1.setName("Navin Surtani");
person1.setBlurb("Likes playing WoW");
person2 = new Person();
person2.setName("BigGoat");
person2.setBlurb("Eats grass");
person3 = new Person();
person3.setName("MiniGoat");
person3.setBlurb("Eats cheese");
pojo.attach(Fqn.fromString("/a/b/c"), person1);
pojo.attach(Fqn.fromString("/a/b/d"), person2);