Jboss-datagrid Gld Extension
Jump to navigation
Jump to search
Internal
Configuration Example
Client libraries are loaded from a local JDG 7 installation, if found. If not, the client libraries we ship with will be loaded instead.
service: type: cache key-size: 10 value-size: 1024 implementation: name: jboss-datagrid-7 version: 7.0.0 # 'classpath' is optional; if specified, it takes precedence # over the libraries we ship with. if 'classpath' is missing, # or the JAR(s) cannot be loaded, we will use the shipped # libraries classpath: ${JDG_HOME}/client/hotrod.jar # # implementation-specific configuration # cache: default nodes: - localhost:11222 - localhost:11422 load-strategy: name: read-then-write-on-miss reuse-value: true load: threads: 1
Configuration Elements
nodes
Required. At least on HotRot endpoint in the format <host>:[port] is required. If port is missing, it is assumed 11222.
cache-container
Optional. If not present, it is assumed to be the default cache container.
cache
Optional. If not present, it is assumed to be the default cache for the specified (or default) cache container.