All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebean.redis.RedisCachePlugin Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebean.redis;

import io.ebean.BackgroundExecutor;
import io.ebean.cache.ServerCacheFactory;
import io.ebean.cache.ServerCachePlugin;
import io.ebean.config.DatabaseConfig;

public class RedisCachePlugin implements ServerCachePlugin {

  /**
   * Create the ServerCacheFactory implementation.
   */
  @Override
  public ServerCacheFactory create(DatabaseConfig config, BackgroundExecutor executor) {
    return new RedisCacheFactory(config, executor);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy