Package | Description |
---|---|
net.sf.ehcache |
This package contains the public API for using ehcache.
|
net.sf.ehcache.distribution |
This package is for cache replication.
|
net.sf.ehcache.event |
This package contains interfaces and classes for listening to events.
|
net.sf.ehcache.terracotta |
This package contains the Terracotta integration functionalities.
|
Modifier and Type | Method and Description |
---|---|
CacheEventListener |
CacheManager.createTerracottaEventReplicator(Ehcache cache)
Create/access the appropriate clustered cache event replicator for the given cache
|
Modifier and Type | Interface and Description |
---|---|
interface |
CacheReplicator
Replicates cache entries to peers of the CacheManager
|
Modifier and Type | Class and Description |
---|---|
class |
RMIAsynchronousCacheReplicator
Listens to
CacheManager and Cache events and propagates those to
CachePeer peers of the Cache asynchronously. |
class |
RMISynchronousCacheReplicator
|
Modifier and Type | Method and Description |
---|---|
CacheEventListener |
RMICacheReplicatorFactory.createCacheEventListener(Properties properties)
Create a
CacheEventListener which is also a CacheReplicator. |
Modifier and Type | Class and Description |
---|---|
class |
CacheEventListenerAdapter
An adapter to simplify cache event listeners that do not need all events defined on the CacheEventListener interface.
|
class |
TerracottaCacheEventReplication
Creates a wrapper for sending out cache events through the Terracotta cluster
|
Modifier and Type | Method and Description |
---|---|
abstract CacheEventListener |
CacheEventListenerFactory.createCacheEventListener(Properties properties)
Create a
CacheEventListener |
CacheEventListener |
TerracottaCacheEventReplicationFactory.createCacheEventListener(Properties properties)
Create a
CacheEventListener |
Modifier and Type | Method and Description |
---|---|
Set<CacheEventListener> |
RegisteredEventListeners.getCacheEventListeners()
Gets a copy of the set of the listeners registered to this class
|
Modifier and Type | Method and Description |
---|---|
boolean |
RegisteredEventListeners.registerListener(CacheEventListener cacheEventListener)
Adds a listener to the notification service.
|
boolean |
RegisteredEventListeners.registerListener(CacheEventListener cacheEventListener,
NotificationScope scope)
Adds a listener to the notification service.
|
boolean |
RegisteredEventListeners.unregisterListener(CacheEventListener cacheEventListener)
Removes a listener from the notification service.
|
Modifier and Type | Method and Description |
---|---|
CacheEventListener |
ClusteredInstanceFactoryWrapper.createEventReplicator(Ehcache cache)
Create a replicator for the cache events of a given cache
|
CacheEventListener |
ClusteredInstanceFactory.createEventReplicator(Ehcache cache)
Create a replicator for the cache events of a given cache
|
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.