没有合适的资源?快使用搜索试试~ 我知道了~
首页Pivotal GemFire 8.2 用户手册 - 英文版
Pivotal GemFire 8.2 用户手册 - 英文版
需积分: 10 4 下载量 107 浏览量
更新于2024-07-20
收藏 5.57MB PDF 举报
Gemfire V1.8.2 用户手册是一份详细的文档,专为Pivotal GemFire® 8.2版本设计,提供了用户指南。这份英文版手册由Pivotal Software, Inc.于2015年发布,版权所有。用户在阅读时需注意,尽管信息在出版时被认为准确,但可能会随时间而变化,且不承担任何明示或默示的关于产品质量或特定用途适用性的保证。
该手册的主要内容包括:
1. **产品文档介绍**:首先介绍了Gemfire作为Pivotal产品系列的一部分,强调了其在企业级数据管理和分布式计算中的关键角色。
2. **版权和许可**:手册声明所有版权归属于Pivotal Software, Inc.,并要求用户在使用任何Pivotal软件时必须遵守适用的软件许可协议。同时提及所有商标权归属Pivotal或其各自的所有者。
3. **目录**:手册结构清晰,分为两部分:
- **Part I:Pivotal GemFire 8.2文档** - 这一部分详细阐述了Gemfire的各个方面,涵盖了系统设置、安装、配置、操作、管理和性能优化等核心内容,旨在帮助用户深入了解和使用Gemfire的功能。
- **Part II:Pivotal GemFire 8.2 Release Notes** - 这是关于本次版本更新的重要信息,可能包括新功能、改进、修复的bug以及与上一版本之间的差异,对于跟踪Gemfire的最新发展非常关键。
4. **联系方式**:在预览章节中,提供了联系Pivotal的方式,以便用户在遇到问题或需要技术支持时能够及时获取帮助。
5. **针对现有客户**:手册特别提到,如果读者是Pivotal的现有客户,这可能意味着他们可以享受到额外的服务和支持。
Pivotal Gemfire V1.8.2用户手册是为那些希望通过Pivotal的分布式数据管理解决方案实现高性能、高可用性和可扩展性应用的开发者和管理员准备的一份详尽指南,涵盖了从基础概念到高级实践的全面内容。在使用过程中,用户需要了解并接受手册中的免责声明,确保在合法授权下使用软件。
![](https://csdnimg.cn/release/download_crawler_static/9670220/bg10.jpg)
Contents Pivotal GemFire
16
<cache> Element Reference..................................................................................... 919
<cache-transaction-manager>.........................................................................920
<dynamic-region-factory>................................................................................921
<cache> Element Reference.......................................................................... 922
<gateway>....................................................................................................... 923
<gateway-sender>...........................................................................................924
<gateway-receiver>......................................................................................... 926
<gateway-conflict-resolver>.............................................................................928
<async-event-queue>......................................................................................928
<cache-server>................................................................................................930
<pool>..............................................................................................................933
<disk-store>.....................................................................................................936
<pdx>...............................................................................................................938
<region-attributes>...........................................................................................939
<jndi-bindings>................................................................................................ 963
<region>...........................................................................................................967
<vm-root-region>............................................................................................. 971
<function-service>........................................................................................... 971
<resource-manager>....................................................................................... 972
<serialization-registration>...............................................................................972
<backup>.........................................................................................................973
<initializer>.......................................................................................................973
<class-name> and <parameter>.....................................................................974
<declarable>....................................................................................................974
<string>............................................................................................................975
<client-cache> Element Hierarchy............................................................................975
<client-cache> Element Reference............................................................................977
<cache-transaction-manager>.........................................................................978
<pool>..............................................................................................................978
<disk-store>.....................................................................................................982
<pdx>...............................................................................................................983
<region-attributes>...........................................................................................984
<jndi-bindings>.............................................................................................. 1004
<region>.........................................................................................................1007
<function-service>......................................................................................... 1021
<resource-manager>..................................................................................... 1021
<serialization-registration>.............................................................................1022
<initializer>.....................................................................................................1023
Region Shortcuts................................................................................................................ 1023
Region Shortcuts Quick Reference......................................................................... 1024
Region Shortcuts Reference....................................................................................1029
LOCAL_HEAP_LRU.....................................................................................1030
LOCAL_OVERFLOW...................................................................................1031
LOCAL_PERSISTENT.................................................................................1032
LOCAL_PERSISTENT_OVERFLOW.......................................................... 1033
PARTITION.................................................................................................. 1034
PARTITION_HEAP_LRU............................................................................. 1035
PARTITION_OVERFLOW............................................................................1036
PARTITION_PERSISTENT..........................................................................1037
PARTITION_PERSISTENT_OVERFLOW................................................... 1038
PARTITION_PROXY....................................................................................1039
PARTITION_PROXY_REDUNDANT........................................................... 1040
PARTITION_REDUNDANT..........................................................................1041
PARTITION_REDUNDANT_HEAP_LRU.....................................................1042
PARTITION_REDUNDANT_OVERFLOW................................................... 1044
PARTITION_REDUNDANT_PERSISTENT................................................. 1045
![](https://csdnimg.cn/release/download_crawler_static/9670220/bg11.jpg)
Contents Pivotal GemFire
17
PARTITION_REDUNDANT_PERSISTENT_OVERFLOW...........................1046
REPLICATE................................................................................................. 1047
REPLICATE_HEAP_LRU............................................................................ 1048
REPLICATE_OVERFLOW...........................................................................1050
REPLICATE_PERSISTENT.........................................................................1051
REPLICATE_PERSISTENT_OVERFLOW.................................................. 1052
REPLICATE_PROXY...................................................................................1053
Exceptions and System Failures.......................................................................................1054
Memory Requirements for Cached Data............................................................................1054
Core Guidelines for GemFire Data Region Design................................................. 1054
Memory Usage Overview........................................................................................ 1055
Calculating Application Object Overhead................................................................ 1055
Using Key Storage Optimization..............................................................................1056
Measuring Cache Overhead....................................................................................1057
Estimating Management and Monitoring Overhead................................................ 1058
Determining Object Serialization Overhead.............................................................1058
Calculating Socket Memory Requirements..............................................................1059
GemFire Statistics List........................................................................................................1061
Cache Performance (CachePerfStats).................................................................... 1061
Cache Server (CacheServerStats).......................................................................... 1065
Client-Side Notifications (CacheClientUpdaterStats)...............................................1069
Client-to-Server Messaging Performance (ClientStats)...........................................1069
Client Connection Pool (PoolStats)......................................................................... 1077
Delta Propagation (DeltaPropagationStatistics).......................................................1078
Continuous Querying (CQStatistics)........................................................................1080
Gateway Queue (GatewayStatistics).......................................................................1082
Glossary.............................................................................................................................................46
Part V: Pivotal GemFire Native Client User's Guide...........................1084
Part I: Getting Started with Pivotal GemFire Native Client.........1090
About the Native Client...................................................................................................... 1090
Installing the Native Client..................................................................................................1091
Installing on Linux and Solaris................................................................................ 1091
Installing on Windows..............................................................................................1092
Uninstalling the Native Client...................................................................................1093
Running Native Client Applications.................................................................................... 1094
Developing C++ Programs on Linux....................................................................... 1094
Developing C++ Programs on Solaris..................................................................... 1096
Developing C++ Programs on Windows................................................................. 1097
QuickStart Examples and Guide........................................................................................ 1098
Running the QuickStart Examples...........................................................................1098
Accessing the QuickStart Guide..............................................................................1099
Part II: Setting System Properties................................................1100
Configuring the Native Client and Cache Server............................................................... 1100
Native Client Configuration......................................................................................1100
Cache Server Configuration.................................................................................... 1101
Attribute Definition Priority....................................................................................... 1101
Search Path for Multiple gfcpp.properties Files.......................................................1102
Overriding gfcpp.properties Settings........................................................................1102
Defining Properties Programmatically......................................................................1102
Attributes in gfcpp.properties..............................................................................................1102
![](https://csdnimg.cn/release/download_crawler_static/9670220/bg12.jpg)
Contents Pivotal GemFire
18
gfcpp.properties Example File............................................................................................1108
Using the Default Sample File.................................................................................1108
Part III: Configuring the Native Client Cache.............................. 1112
Caches................................................................................................................................ 1112
About the Native Client Cache................................................................................ 1112
Cache APIs.............................................................................................................. 1113
Local, Remote, and Distributed Caches..................................................................1113
Creating and Accessing a Cache............................................................................1113
Closing the Cache................................................................................................... 1114
Cache Initialization File (cache.xml)...................................................................................1114
Cache Initialization File Basics................................................................................1115
Example cache.xml File...........................................................................................1115
Native Client Cache XML DTD................................................................................1116
Regions............................................................................................................................... 1120
Declarative Region Creation....................................................................................1120
Programmatic Region Creation............................................................................... 1121
Invalidating and Destroying Regions....................................................................... 1121
Region Access......................................................................................................... 1122
Getting the Region Size.......................................................................................... 1122
Region Entries.................................................................................................................... 1123
Entry Distribution Requirements.............................................................................. 1123
Registering Interest for Entries................................................................................1123
Using serverKeys to Retrieve a Set of Region Keys...............................................1125
Adding Entries to the Cache................................................................................... 1126
Updating Entries...................................................................................................... 1127
Accessing Entries.....................................................................................................1127
Invalidating or Destroying Cached Entries.............................................................. 1128
Notification for Operations....................................................................................... 1128
Region Consistency............................................................................................................1129
Region Attributes................................................................................................................ 1129
Specifying Region Attributes....................................................................................1129
RegionShortcuts.......................................................................................................1129
Mutable and Immutable Region Attributes.............................................................. 1131
CachingEnabled....................................................................................................... 1132
InitialCapacity........................................................................................................... 1132
LoadFactor............................................................................................................... 1132
ConcurrencyLevel.....................................................................................................1132
ConcurrencyChecksEnabled....................................................................................1133
LruEntriesLimit..........................................................................................................1133
DiskPolicy.................................................................................................................1134
PersistenceManager.................................................................................................1134
Specifying Application Plug-In Attributes.................................................................1139
Specifying Expiration Attributes............................................................................... 1144
Cache Management........................................................................................................... 1146
Client-to-Server Connection Process.......................................................................1146
Controlling Cache Size............................................................................................ 1147
Managing the Lifetime of a Cached Object.............................................................1147
Using Thread Safety in Cache Management.......................................................... 1148
Troubleshooting........................................................................................................1149
Part IV: Pivotal GemFire Native Client C++ API..........................1152
About the Native Client C++ API....................................................................................... 1152
Creating a Cache............................................................................................................... 1154
![](https://csdnimg.cn/release/download_crawler_static/9670220/bg13.jpg)
Contents Pivotal GemFire
19
Creating a Proxy Client-Side Region................................................................................. 1154
Adding an Entry to the Cache............................................................................................1155
Accessing an Entry.............................................................................................................1156
Removing an Entry.............................................................................................................1157
Serializing Data...................................................................................................................1157
Region Data Requiring Serialization........................................................................1157
Data Serialization Options....................................................................................... 1158
Serializing Data with GemFire PDX Serialization....................................................1159
Serialize Your Domain Objects with PdxSerializer and PdxWrapper............1159
Serialize Using the GemFire PdxSerializable Class..................................... 1161
Using Automatic PDX Serialization...............................................................1163
Programming Your Application to Use PdxInstances................................... 1163
Configuring PDX to Ignore Unread Fields During Deserialization.................1164
Using PdxInstanceFactory to Create PdxInstances......................................1164
Using C++ Enum Type with PDX Serialization.............................................1166
Using PDX Serialization with Delta Propagation.......................................... 1168
Serializing Data with the GemFire Serializable Interface........................................ 1168
Serializing Object Graphs........................................................................................1173
Serializing and Accessing Data as a Blob.............................................................. 1173
Implementing User-Defined Objects in Java Clients..........................................................1173
Using a Custom Class........................................................................................................1174
Creating New Statistics...................................................................................................... 1175
Part V: Pivotal GemFire Native Client C# .NET API.................... 1178
About the Native Client C# .NET API................................................................................ 1178
C# .NET Naming and Usage Conventions..............................................................1179
Primary APIs in GemStone::GemFire::Cache::Generic...........................................1179
Cache APIs................................................................................................... 1179
Region and Entry APIs................................................................................. 1179
Data Serialization APIs................................................................................. 1180
Event Handling APIs.....................................................................................1180
Property Collections and Logging APIs........................................................ 1181
C++ Class to .NET Class Mappings.................................................................................. 1181
Java to .NET Type Mapping Table.................................................................................... 1183
Object Lifetimes.................................................................................................................. 1185
.NET Application Domains..................................................................................................1186
Problem Scenarios...................................................................................................1186
Creating a Cache............................................................................................................... 1187
Creating a Region.............................................................................................................. 1187
Adding an Entry to the Cache............................................................................................1188
Accessing an Entry.............................................................................................................1189
Removing an Entry.............................................................................................................1189
Data Serialization................................................................................................................1190
Data Serialization Options....................................................................................... 1190
Serialize with GemFire PDX Serialization............................................................... 1191
GemFire PDX Serialization Features............................................................1192
Serialize Using the GemFire PDX Autoserializer..........................................1192
Extend the PDX Autoserializer..................................................................... 1193
Serialize Your Domain Objects with IPdxSerializer...................................... 1195
Serialize Using the GemFire IPdxSerializable Interface............................... 1195
Program Your Application to Use IPdxInstance............................................1197
Use the IPdxInstanceFactory to Create IPdxInstances................................ 1198
Map .NET Domain Type Names to PDX Type Names with IPdxTypeMapper.1200
Serialize with the GemFire IGFSerializable Interface..............................................1200
Generic and Custom Serializable Types..................................................... 1200
![](https://csdnimg.cn/release/download_crawler_static/9670220/bg14.jpg)
Contents Pivotal GemFire
20
How Serialization Works with IGFSerializable.............................................1201
Implement the IGFSerializable Interface.......................................................1201
Register the Type..........................................................................................1203
Using a Custom Class With IGFSerializable...........................................................1204
Application Callbacks..........................................................................................................1206
A Simple C# Example........................................................................................................ 1208
Troubleshooting .NET Applications.................................................................................... 1208
Resolving the Error..................................................................................................1209
Using GemStone.GemFire.Cache.dll As a Private Assembly..................................1209
Implementing the Shared Assembly........................................................................1210
Part VI: Preserving Data................................................................1212
High Availability for Client-Server Communication.............................................................1212
Configuring Native Clients for High Availability....................................................... 1212
Sending Periodic Acknowledgment......................................................................... 1213
Enabling Queue Conflation to Improve Update Performance............................................ 1214
Durable Client Messaging.................................................................................................. 1214
Durable Client Messaging Requirements................................................................ 1214
Client-Side Configuration......................................................................................... 1215
Configuring a Durable Native Client............................................................. 1215
Configuring Durable Interest in Keys............................................................1216
Configuring Durable Client Reconnection.....................................................1217
Sending Cache Ready Messages to the Server..................................................... 1218
Disconnecting from the Server................................................................................ 1218
Life Cycle of a Durable Client................................................................................. 1218
Initial Operation............................................................................................1218
Disconnection................................................................................................ 1219
Reconnection.................................................................................................1219
Durable Message Replay..............................................................................1221
Application Operations During Interest Registration..................................... 1221
Implementing Cache Listeners for Durable Clients................................................. 1221
Part VII: Security............................................................................1224
Authentication..................................................................................................................... 1224
Process and Multiuser Authentication..................................................................... 1224
Configuring Credentials for Authentication.............................................................1225
Configuring Authentication by the Cache Server.....................................................1227
Server Authentication Errors....................................................................................1227
Creating Multiple Secure User Connections............................................................1227
Requirements and Caveats for RegionService.............................................1228
Using an LDAP Server for Client Authentication.....................................................1228
Encrypted Authentication....................................................................................................1229
Encrypt Credentials with Diffe-Hellman................................................................... 1229
Using PKCS for Encrypted Authentication.............................................................. 1230
Client Authorization.............................................................................................................1231
Configuring Client Authorization.............................................................................. 1231
Post-Operative Authorization................................................................................... 1231
Determining Pre- or Post-Operation Authorization................................................. 1231
Security-Related System Properties (gfcpp.properties)......................................................1232
SSL Client/Server Communication..................................................................................... 1233
Step 1: Download and install OpenSSL.................................................................. 1233
Step 2: Create keystores.........................................................................................1233
Step 3: Configure environment variables................................................................ 1234
Step 4: Configure SSL properties in gfcpp.properties and gemfire.properties.........1234
剩余1346页未读,继续阅读
2023-12-08 上传
2023-05-12 上传
2023-07-27 上传
2024-06-28 上传
2023-05-18 上传
2024-09-07 上传
![](https://profile-avatar.csdnimg.cn/df6ffd618ae9424da0a0dc83f004ddee_sandysym.jpg!1)
半根葱II
- 粉丝: 14
- 资源: 25
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
最新资源
- AirKiss技术详解:无线传递信息与智能家居连接
- Hibernate主键生成策略详解
- 操作系统实验:位示图法管理磁盘空闲空间
- JSON详解:数据交换的主流格式
- Win7安装Ubuntu双系统详细指南
- FPGA内部结构与工作原理探索
- 信用评分模型解析:WOE、IV与ROC
- 使用LVS+Keepalived构建高可用负载均衡集群
- 微信小程序驱动餐饮与服装业创新转型:便捷管理与低成本优势
- 机器学习入门指南:从基础到进阶
- 解决Win7 IIS配置错误500.22与0x80070032
- SQL-DFS:优化HDFS小文件存储的解决方案
- Hadoop、Hbase、Spark环境部署与主机配置详解
- Kisso:加密会话Cookie实现的单点登录SSO
- OpenCV读取与拼接多幅图像教程
- QT实战:轻松生成与解析JSON数据
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)