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

io.ebeaninternal.server.deploy.DCacheRegion Maven / Gradle / Ivy

There is a newer version: 15.8.1
Show newest version
package io.ebeaninternal.server.deploy;

import io.ebeaninternal.api.SpiCacheRegion;

public final class DCacheRegion implements SpiCacheRegion {

  private boolean enabled = true;
  private final String name;

  public DCacheRegion(String name) {
    this.name = name;
  }

  @Override
  public String name() {
    return name;
  }

  @Override
  public boolean isEnabled() {
    return enabled;
  }

  @Override
  public void setEnabled(boolean enabled) {
    this.enabled = enabled;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy