Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 2. Cache Managers
A Cache Manager is the primary mechanism to retrieve a cache instance in Red Hat JBoss Data Grid, and is a starting point for using the cache.
In JBoss Data Grid, a cache manager is useful because:
- it creates multiple cache instances on demand using a provided standard.
- it retrieves existing cache instanced (i.e. caches that have already been created).
2.1. Types of Cache Managers Link kopierenLink in die Zwischenablage kopiert!
Link kopierenLink in die Zwischenablage kopiert!
Red Hat JBoss Data Grid offers the following Cache Managers:
EmbeddedCacheManageris a cache manager that runs within the Java Virtual Machine (JVM) used by the client. Currently, JBoss Data Grid offers only theDefaultCacheManagerimplementation of theEmbeddedCacheManagerinterface.RemoteCacheManageris used to access remote caches. When started, theRemoteCacheManagerinstantiates connections to the Hot Rod server (or multiple Hot Rod servers). It then manages the persistentTCPconnections while it runs. As a result,RemoteCacheManageris resource-intensive. The recommended approach is to have a singleRemoteCacheManagerinstance for each Java Virtual Machine (JVM).