- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {FileOutputStream f =
File file;new FileOutputStream(file)
String name;new FileOutputStream(name)
File file;new FileOutputStream(file, true)
- Smart code suggestions by Codota
}
@Override public void start(SessionFactoryOptions settings, Properties properties) throws CacheException { Logger.LOGGER.deprecatedRegionFactory(this.getClass().getName(), this.getClass().getSuperclass().getSuperclass().getName(), SHARED, this.shared); properties.setProperty(SHARED, this.shared); super.start(settings, properties); } }
@Override public void start(SessionFactoryOptions settings, Properties properties) throws CacheException { Logger.LOGGER.deprecatedRegionFactory(this.getClass().getName(), this.getClass().getSuperclass().getSuperclass().getName(), SHARED, this.shared); properties.setProperty(SHARED, this.shared); super.start(settings, properties); } }
@Override public void start(ServiceRegistry serviceRegistry, Properties p) { final SessionFactoryOptionsImpl sessionFactoryOptions = new SessionFactoryOptionsImpl( new SessionFactoryBuilderImpl.SessionFactoryOptionsStateStandardImpl( (StandardServiceRegistry) serviceRegistry ) ); delegate.start(sessionFactoryOptions, p); }
public void start(SessionFactoryOptions settings, Properties properties) throws CacheException { cacheManagerName = properties.getProperty(DualNodeTest.NODE_ID_PROP); EmbeddedCacheManager existing = ClusterAware.getCacheManager(cacheManagerName); locallyAdded = (existing == null); if (locallyAdded) { delegate.start(settings, properties); ClusterAware.addCacheManager(cacheManagerName, delegate.getCacheManager()); } else { delegate.setCacheManager(existing); } }