Infinispan Concepts

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Cache Container

A cache container is the runtime structure that instantiates and manages one or more caches. In case of clustered caches, the cache container encapsulates the networking mechanisms required to maintain state across more than one JVM for its caches, including a JGroups stack. The cache container implementations are heavyweight objects. There should be possible to use just one cache container per JVM, unless specific configuration requires the availability of more than one instance - but in this case there will be a minimal and finite number of such instances.

From an API perspective, the cache container is the primary API mechanism to retrieve cache instances.

Cache Manager

A cache manager and a cache container are similar concepts. The cache manager concept was introduced in Infinispan 4 and it will be deprecated in the future.

Cache

Connecting to an Infinispan Server

HotRot

The HotRod connector is configured in the infinispan:server:endpoint Section.

memcached

The memcached connector is configured in the infinispan:server:endpoint Section.

REST

The REST connector is configured in the infinispan:server:endpoint Section.