Jboss-datagrid Gld Extension

From NovaOrdis Knowledge Base
Revision as of 19:57, 10 January 2017 by Ovidiu (talk | contribs) (Created page with "=Internal= * gld Configuration =Configuration Example= Client libraries are loaded from a local JDG 7 installation, if fou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: ${JDG_HOME}/client/hotrod.jar # optional, takes precence over the libraries we ship with. if 'classpath'
                                                             # is missing, the shipped libraries will be used

    #
    # implementation-specific configuration
    #
    cache-container: clustered
    cache: novaordis
    nodes:
      - localhost:11222
      - localhost:11422

  load-strategy:
    name: read-then-write-on-miss
    reuse-value: true

load:
  threads: 1