CacheBox: Enterprise Caching
2.x
2.x
  • Introduction
  • What's New With 2.1.0
  • What's New With 2.0.0
  • About This Book
  • Author
  • Overview
    • CacheBox RefCard
    • Useful Resources
    • Features at a Glance
    • System Requirements
  • Installing CacheBox
    • Installation
  • Caching Concepts
    • Caching Considerations
    • Cache Loading
    • Definitions
    • Java Soft References
  • Cache Topologies
    • Single Instance/In-Process
    • Single Instance/Out-Process
    • Replicated
    • Distributed
  • CacheBox Architecture
    • CacheFactory
    • CacheBoxConfig
    • EventManager
    • ColdBox
    • LogBox
    • ICacheProvider
    • ICacheStats
    • IObjectStore
    • IEvictionPolicy
    • AbstractEvictionPolicy
    • IColdboxApplicationCache
  • Creating CacheBox
    • Common CacheFactory Methods
    • Cache Cleanup/Reaping
  • CacheBox Configuration
    • CacheBox DSL
      • LogBoxConfig
      • Scope Registration
      • Default Cache
      • Caches
      • Listeners
    • CacheBox Config Object
    • ColdBox Configuration
  • Cache Providers
    • Couchbase Providers
    • CF Providers
    • Railo Providers
    • Mock Provider
    • CacheBox Provider
  • CacheBox Object Stores
    • ConcurrentStore
    • ConcurrentSoftReferenceStore
    • DiskStore
    • JDBCStore
    • BlackholeStore
  • CacheBox Eviction Policies
    • Using Your Own Policy
  • CacheBox Event Model
    • CacheBox Events
    • Provider Events
    • Cache Listeners
  • Cache Reporting
    • Creating Your Own Skins
      • Skin Templates
      • ReportHandler
        • Action Commands
Powered by GitBook
On this page

Was this helpful?

Edit on Git
Export as PDF

Cache Providers

PreviousColdBox ConfigurationNextCouchbase Providers

Last updated 7 years ago

Was this helpful?

We have shipped CacheBox with several CacheBox providers that you can use in your applications. There are basically two modes of operation for a CacheBox provider and it is all determined by the interface they implement:

  1. ICacheProvider : A standalone cache provider

  2. IColdboxApplicationCache : A cache provider for usage by the ColdBox Framework

The following are the shipped providers:

Provider

ColdBox Enabled

Reporting Enabled

Description

CacheBoxProvider

false

true

Our very own CacheBox caching engine

CacheBoxColdBoxProvider

true

true

Our CacheBox caching engine prepared for ColdBox application usage

CouchbaseProvider

false

true

An awesome provider for Couchbase NoSQL server, see

CouchbaseColdboxProvider

true

true

An awesome provider with ColdBox application support for Couchbase NoSQL server, see

CFProvider

false

true

A ColdFusion 9.0.1 and above implementation

CFColdBoxProvider

true

true

A ColdBox enhanced version of our ColdFusion 9.0.1 cache provider

RailoProvider

false

true

A ColdBox enhanced version of our Railo cache provider

RailoColdBoxProvider

true

true

A ColdBox enhanced version of our Railo cache provider

MockProvider

true

false

A ColdBox enhanced cache provider that can be used for mocking or testing

Each provider has the shared functionality provided by the ICacheProvider and IColdboxApplicationCache interfaces, so I encourage you to look at the CFC for an in-depth view of their API. Also, please note that each cache provider implementation has also some extra methods and functionality according to their implementation, so please check out the API docs for each provider.

API Docs
CacheBox-Couchbase
CacheBox-Couchbase