黄色视频

    1. <form id=QUkGStDXb><nobr id=QUkGStDXb></nobr></form>
      <address id=QUkGStDXb><nobr id=QUkGStDXb><nobr id=QUkGStDXb></nobr></nobr></address>

      Show Navigation

      cache-guava

      The guava cache provides a simple in memory cache with maximal capacity and TTL.

      Owner: mkobel | 1.0.0 | Jul 3, 2020 | Package | Issues | Source | License: Apache-2.0

      3
      
      dependencies {
          compile 'org.grails.plugins:cache-guava:1.0.0'
      }
      
                  

      grails-cache-guava

      This Grails plugin extends the grails-cache plugin.

      The guava cache provides a simple in memory cache with maximal capacity and TTL.

      Usage

      Dependency

      dependencies {
          compile 'org.grails.plugins:cache:4.0.0'
          compile 'org.grails.plugins:cache-guava:1.0.0'
      }
      

      Configuration

      grails:
        cache:
          guava:            
            defaultTtl: 3600
            caches:
              message:
                maxCapacity: 5000
                ttl: 60
              maps:
                maxCapacity: 6000
                ttl: 30
              countries:
                maxCapacity: 1000
      

      The GrailsGuavaCacheManager is automatically configured by the plugin.

      Annoations and Services

      Just use grails-cache's annotations and services as described in its documentation

      HoMEmenuCopyrights 2015.All rights reserved.More welcome - Collect from power by english Blok number sss85786789633111 Copyright