• springBoot配置,贴个图


    spring:
        datasource:
            name: test
            url: jdbc:mysql://localhost:3306/epay?characterEncoding=UTF-8
            username: root
            password: 123
            # 使用druid数据源
            type: com.alibaba.druid.pool.DruidDataSource
            driver-class-name: com.mysql.jdbc.Driver
            filters: stat
            maxActive: 20
            initialSize: 1
            maxWait: 60000
            minIdle: 1
            timeBetweenEvictionRunsMillis: 60000
            minEvictableIdleTimeMillis: 300000
            validationQuery: select 'x'
            testWhileIdle: true
            testOnBorrow: false
            testOnReturn: false
            poolPreparedStatements: true
            maxOpenPreparedStatements: 20
    
    mybatis:
        mapperLocations: classpath:mapper/*.xml
        typeAliasesPackage: yxm.zyf.love.model
        
    jedis :  
      pool :  
        host : 127.0.0.1  
        port : 6379  
        config :  
          maxTotal: 100  
          maxIdle: 10  
          maxWaitMillis : 100000  
    

      

  • 相关阅读:
    ICQ
    Create小程序
    LRU最近最少使用算法
    感知器
    聚类-K均值
    阈值分类法
    最邻近分类
    设计模式
    高级排序算法
    Socket编程
  • 原文地址:https://www.cnblogs.com/zyf-yxm/p/9762078.html
Copyright © 2020-2023  润新知