001package io.ebean.cache;
002
003/**
004 * Cache region can be enabled independently.
005 */
006public interface ServerCacheRegion {
007
008  /**
009   * Return the region name.
010   */
011  String getName();
012
013  /**
014   * Return true if the cache region is enabled.
015   */
016  boolean isEnabled();
017
018  /**
019   * Set to true to enable the cache region.
020   */
021  void setEnabled(boolean enabled);
022
023}