Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
  • Products & Services

    Products

    Support

    • Production Support
    • Development Support
    • Product Life Cycles

    Services

    • Consulting
    • Technical Account Management
    • Training & Certifications

    Documentation

    • Red Hat Enterprise Linux
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenStack Platform
    • Red Hat OpenShift Container Platform
    All Documentation

    Ecosystem Catalog

    • Red Hat Partner Ecosystem
    • Partner Resources
  • Tools

    Tools

    • Troubleshoot a product issue
    • Packages
    • Errata

    Customer Portal Labs

    • Configuration
    • Deployment
    • Security
    • Troubleshoot
    All labs

    Red Hat Insights

    Increase visibility into IT operations to detect and resolve technical issues before they impact your business.

    Learn More
    Go to Insights
  • Security

    Red Hat Product Security Center

    Engage with our Red Hat Product Security team, access security updates, and ensure your environments are not exposed to any known security vulnerabilities.

    Product Security Center

    Security Updates

    • Security Advisories
    • Red Hat CVE Database
    • Security Labs

    Keep your systems secure with Red Hat's specialized responses to security vulnerabilities.

    View Responses

    Resources

    • Security Blog
    • Security Measurement
    • Severity Ratings
    • Backporting Policies
    • Product Signing (GPG) Keys
  • Community

    Customer Portal Community

    • Discussions
    • Private Groups
    Community Activity

    Customer Events

    • Red Hat Convergence
    • Red Hat Summit

    Stories

    • Red Hat Subscription Value
    • You Asked. We Acted.
    • Open Source Communities
Or troubleshoot an issue.

Select Your Language

  • English
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift Container Platform
  • Red Hat OpenShift Data Science
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat Single Sign On
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products

Table of contents

  1. 配置数据网格缓存
  2. Red Hat Data Grid
    1. Data Grid 文档
    2. Data Grid 下载
    3. 使开源包含更多
    4. 对红帽文档提供反馈
  3. 1. Data Grid 缓存
    1. 1.1. 缓存 API
    2. 1.2. 缓存管理器
    3. 1.3. 缓存模式
      1. 1.3.1. 缓存模式的比较
    4. 1.4. 本地缓存
      1. 1.4.1. 简单缓存
  4. 2. 集群缓存
    1. 2.1. 复制缓存
    2. 2.2. 分布式缓存
      1. 2.2.1. 读取一致性
      2. 2.2.2. 密钥所有权
      3. 2.2.3. 容量因素
        1. 2.2.3.1. 零容量节点
      4. 2.2.4. 级别一(L1)缓存
      5. 2.2.5. 服务器提示
      6. 2.2.6. 关键关联性服务
      7. 2.2.7. 分组 API
    3. 2.3. 失效缓存
    4. 2.4. 分散缓存
    5. 2.5. 异步复制
      1. 2.5.1. 使用异步复制返回值
    6. 2.6. 配置初始集群大小
  5. 3. 数据网格缓存配置
    1. 3.1. 声明性缓存配置
      1. 3.1.1. 缓存配置
    2. 3.2. 添加缓存模板
      1. 3.2.1. 从模板创建缓存
      2. 3.2.2. 缓存模板继承
      3. 3.2.3. 缓存模板通配符
      4. 3.2.4. 从多个 XML 文件缓存模板
    3. 3.3. 创建远程缓存
      1. 3.3.1. 默认缓存管理器
      2. 3.3.2. 使用 Data Grid 控制台创建缓存
      3. 3.3.3. 使用 Data Grid CLI 创建远程缓存
      4. 3.3.4. 从 Hot Rod 客户端创建远程缓存
      5. 3.3.5. 使用 REST API 创建远程缓存
    4. 3.4. 创建嵌入缓存
      1. 3.4.1. 在您的项目中添加 Data Grid
      2. 3.4.2. 配置嵌入缓存
  6. 4. 启用和配置数据网格统计信息和 JMX 监控
    1. 4.1. 配置 Data Grid 指标
    2. 4.2. 注册 JMX MBeans
      1. 4.2.1. 启用 JMX 远程端口
      2. 4.2.2. Data Grid MBeans
      3. 4.2.3. 在自定义 MBean 服务器中注册 MBeans
  7. 5. 配置 JVM 内存用量
    1. 5.1. 默认内存配置
    2. 5.2. 驱除和过期
    3. 5.3. 使用 Data Grid 缓存驱除
      1. 5.3.1. 驱除策略
      2. 5.3.2. 配置最大计数驱除
      3. 5.3.3. 配置最大大小驱除
      4. 5.3.4. 手动驱除
      5. 5.3.5. 通过驱除传递
    4. 5.4. 带有 lifespan 和最大闲置的过期
      1. 5.4.1. 过期如何工作
      2. 5.4.2. 过期获取器
      3. 5.4.3. 最大闲置和集群缓存
      4. 5.4.4. 为缓存配置 lifespan 和最大闲置时间
      5. 5.4.5. 配置 lifespan 以及每个条目的最大闲置时间
    5. 5.5. JVM 堆和非堆内存
      1. 5.5.1. 非堆数据存储
      2. 5.5.2. 配置非堆内存
  8. 6. 配置持久性存储
    1. 6.1. 激ivation
      1. 6.1.1. 激ivation 如何工作
    2. 6.2. 直写缓存存储
    3. 6.3. write-behind 缓存存储
    4. 6.4. 分段缓存存储
    5. 6.5. 共享缓存存储
    6. 6.6. 使用持久缓存存储的事务
    7. 6.7. 全球持久性位置
      1. 6.7.1. 配置全局持久位置
    8. 6.8. 基于文件的缓存存储
      1. 6.8.1. 配置基于文件的缓存存储
      2. 6.8.2. 配置单个文件缓存存储
    9. 6.9. JDBC 连接工厂
      1. 6.9.1. 配置受管数据源
        1. 6.9.1.1. 使用 JNDI 名称配置缓存
        2. 6.9.1.2. 连接池调整属性
      2. 6.9.2. 使用 Agroal 属性配置 JDBC 连接池
    10. 6.10. SQL 缓存存储
      1. 6.10.1. 密钥和值的数据类型
        1. 6.10.1.1. 复合键和值
        2. 6.10.1.2. 嵌入式密钥
        3. 6.10.1.3. SQL 类型到 Protobuf 类型
      2. 6.10.2. 从数据库表载入 Data Grid 缓存
      3. 6.10.3. 使用 SQL 查询来加载数据并执行操作
        1. 6.10.3.1. SQL 查询存储配置
      4. 6.10.4. SQL 缓存存储故障排除
    11. 6.11. JDBC 字符串的缓存存储
      1. 6.11.1. 配置基于字符串的 JDBC 缓存存储
    12. 6.12. rocksdb 缓存存储
    13. 6.13. 远程缓存存储
    14. 6.14. JPA 缓存存储
      1. 6.14.1. JPA 缓存存储示例
    15. 6.15. 集群缓存加载程序
    16. 6.16. 创建自定义缓存存储实现
      1. 6.16.1. 数据网格持久性 SPI
      2. 6.16.2. 创建缓存存储
      3. 6.16.3. 自定义缓存存储配置示例
      4. 6.16.4. 部署自定义缓存存储
    17. 6.17. 在缓存存储间迁移数据
      1. 6.17.1. 缓存存储器
      2. 6.17.2. 获取缓存存储器
      3. 6.17.3. 配置缓存存储器
        1. 6.17.3.1. 缓存存储器的配置属性
      4. 6.17.4. 迁移 Data Grid 缓存存储
  9. 7. 配置 Data Grid 以处理网络分区
    1. 7.1. 分离集群和网络分区
      1. 7.1.1. 分割集群中的数据一致性
    2. 7.2. 缓存可用性和降级模式
      1. 7.2.1. 降级缓存恢复示例
      2. 7.2.2. 在网络分区中验证缓存可用性
      3. 7.2.3. 使缓存可用
    3. 7.3. 配置分区处理
    4. 7.4. 分区处理策略
    5. 7.5. 合并策略
    6. 7.6. 配置自定义合并策略
    7. 7.7. 在嵌入式缓存中手动合并分区
  10. 8. 配置用户角色和权限
    1. 8.1. 安全授权
      1. 8.1.1. 用户角色和权限
      2. 8.1.2. 权限
        1. 8.1.2.1. 缓存管理器权限
        2. 8.1.2.2. 缓存权限
      3. 8.1.3. 角色映射器
        1. 8.1.3.1. 集群角色映射器
        2. 8.1.3.2. 身份角色映射器
        3. 8.1.3.3. CommonName 角色映射器
        4. 8.1.3.4. 自定义角色映射器
    2. 8.2. 访问控制列表(ACL)缓存
    3. 8.3. 自定义角色和权限
    4. 8.4. 使用安全授权配置缓存
    5. 8.5. 禁用安全授权

Data Grid 文档

红帽客户门户网站中提供了数据网格的文档。

  • Data Grid 8.3 文档
  • Data Grid 8.3 组件详情
  • Data Grid 8.3 支持的配置
  • Data Grid 8 功能支持
  • Data Grid 已弃用功能和功能
  1. Previous
  2. Next
Red Hat

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

About

  • Red Hat Subscription Value
  • About Red Hat
  • Red Hat Jobs
Copyright © 2023 Red Hat, Inc.
  • Privacy Statement
  • Terms of Use
  • All Policies and Guidelines
We've updated our Privacy Policy effective July 1st, 2023.
Red Hat Summit Red Hat Summit
Twitter