Module io.ebean.api

Interface ServerCacheFactory


  • public interface ServerCacheFactory
    Defines method for constructing caches for beans and queries.
    • Method Detail

      • visit

        default void visit​(MetricVisitor visitor)
        Visit the metrics for the cache.
      • createCacheNotify

        ServerCacheNotify createCacheNotify​(ServerCacheNotify listener)
        Return a ServerCacheNotify that we will send ServerCacheNotification events to.

        This is used if a ServerCacheNotifyPlugin is not supplied.

        Parameters:
        listener - The listener that should be used to process the notification events.