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()
Invoked on component start
|
void |
stop()
Invoked on component stop
|
CacheWriter |
undelegate() |
void |
write(MarshalledEntry entry)
Persists the entry to the storage.
|
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 start()
Lifecyclepublic void stop()
Lifecyclepublic void write(MarshalledEntry entry)
CacheWriterwrite in interface CacheWriterMarshalledEntrypublic boolean delete(Object key)
delete in interface CacheWriterpublic CacheWriter undelegate()
Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.