Creates a new instance of SlaveCache. The SlaveCache performs lookups of the database and manages a cache of Movie.
Map overrides = new HashMap(); overrides.put ("javax.jdo.options.NontransactionalRead", "true"); overrides.put ("javax.jdo.options.NontransactionalWrite", "true"); return overrides;
Update the Movie website in the cache, only if it is already there. The datastore will be updated by the MasterCache.paramtitle the title of the movieparamwebsite the new website for the movie Movie movie = (Movie)cache.get (title); if (movie == null) return; movie.setWebSite (website);
Movie movie = (Movie)cache.get (title); if (movie == null) return; movie.setWebSite (website);