天天看點

Apache Geode 的 Spring 資料

原标題:Spring認證|Apache Geode 的 Spring 資料

Apache Geode 的 Spring 資料

Spring Data for Apache Geode 項目的主要目标是使用 Apache Geode 進行分布式資料管理,使建構高度可擴充的 Spring 驅動的應用程式變得更加容易。

Spring Data for Apache Geode 為您的 Apache Geode 應用程式帶來了 Spring Framework 的全部功能。

特征

使用 Spring 以聲明方式配置和建立 Apache Geode 資源的XML 命名空間

開箱即用的注釋模型,可快速輕松地開始使用 Apache Geode

簡化Apache Geode API 的使用

Apache Geode 支援的 Spring Cache Abstraction

應用于存儲在 Apache Geode 中的 POJO 的 Spring Data Mapping 基礎架構

由 Apache Geode 支援的 Spring Data Repositories

Apache Geode 通過 Spring 的聲明式事務管理緩存事務

通過 Spring 的聲明式事務管理在全局、JTA 事務中使用 Apache Geode 的額外支援

對 Apache Geode 序列化的增強支援

函數執行的注解

支援連續查詢

對 Apache Lucene 內建的增強支援

使用 Apache Geode 引導 Spring 上下文

用于 Apache Geode 的Spring 工具套件Spring 項目模闆

文檔結構

以下内容解釋了 Spring Data 為 Apache Geode 提供的核心功能:

Bootstrapping Apache Geode with the Spring Container描述了為配置、初始化和通路 Apache Geode 緩存、區域和相關分布式系統元件提供的配置支援。

使用 Apache Geode API解釋了 Apache Geode API 與 Spring 中可用的各種資料通路功能之間的內建,例如基于模闆的資料通路、異常轉換、事務管理和緩存。

使用 Apache Geode 序列化描述了對 Apache Geode 的托管對象序列化和反序列化的增強。

POJO Mapping描述了使用 Spring Data 存儲在 Apache Geode 中的 POJO 的持久性映射。

Spring Data for Apache Geode Repositories描述了如何通過使用基本的 CRUD 和簡單的查詢操作來建立和使用 Spring Data Repositories 來通路存儲在 Apache Geode 中的資料。

函數執行的注釋支援描述了如何通過使用注釋來執行資料所在的分布式計算來建立和使用 Apache Geode 函數。

連續查詢 (CQ)描述了如何使用 Apache Geode 的連續查詢 (CQ) 功能來處理基于興趣的事件流,該興趣是在 Apache Geode 的 OQL(對象查詢語言)中定義和注冊的。

在 Apache Geode中引導 Spring ApplicationContext描述了如何ApplicationContext 使用Gfsh.

示例應用程式描述了随發行版提供的示例,以說明 Spring Data for Apache Geode 中可用的各種功能。