public abstract class DelegatingCacheWriter extends Object implements CacheWriter
| Modifier and Type | Field and Description |
|---|---|
protected CacheWriter |
actual |
protected InitializationContext |
ctx |
| Constructor and Description |
|---|
DelegatingCacheWriter(CacheWriter actual) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete(Object key) |
void |
init(InitializationContext ctx)
Used to initialize a cache loader.
|
void |
start() |
void |
stop() |
CacheWriter |
undelegate() |
void |
write(MarshalledEntry entry) |
protected final CacheWriter actual
protected InitializationContext ctx
public DelegatingCacheWriter(CacheWriter actual)
public void init(InitializationContext ctx)
CacheWriterPersistenceManager
when setting up cache loaders.init in interface CacheWriterpublic void write(MarshalledEntry entry)
write in interface CacheWriterpublic boolean delete(Object key)
delete in interface CacheWriterpublic CacheWriter undelegate()
Copyright © 2013 JBoss, a division of Red Hat. All rights reserved.