1.2. Summary of Features

1.2.1. Caching objects

JBoss Cache offers a simple and straightforward API, where data - simple Java objects - can be placed in the cache. Based on configuration options selected, this data may be one or all of:
  • cached in-memory for efficient, thread-safe retrieval
  • replicated to some or all cache instances in a cluster
  • persisted to disk and/or a remote, in-memory cache cluster ("far-cache")
  • garbage collected from memory when memory runs low, and passivated to disk so state is not lost
In addition, JBoss Cache offers a rich set of enterprise-class features:
  • being able to participate in JTA transactions (works with most Java EE compliant transaction managers);
  • attach to JMX consoles and provide runtime statistics on the state of the cache;
  • allow client code to attach listeners and receive notifications on cache events;
  • allow grouping of cache operations into batches, for efficient replication.