public class HzCachePlugin extends Object implements com.avaje.ebean.cache.ServerCachePlugin
| Constructor and Description |
|---|
HzCachePlugin() |
| Modifier and Type | Method and Description |
|---|---|
com.avaje.ebean.cache.ServerCacheFactory |
create(com.avaje.ebean.config.ServerConfig config,
com.avaje.ebean.BackgroundExecutor executor)
Create and return the Hazelcast ServerCacheFactory implementation.
|
public HzCachePlugin()
public com.avaje.ebean.cache.ServerCacheFactory create(com.avaje.ebean.config.ServerConfig config, com.avaje.ebean.BackgroundExecutor executor)
This is called before the EbeanServer instance is created. The factory is used to create the ServerCache instances while the EbeanServer instance is being defined.
create in interface com.avaje.ebean.cache.ServerCachePluginconfig - The configuration used when constructing the EbeanServer instance.executor - The background executor service that can be used if needed.Copyright © 2016. All rights reserved.