public class JCacheWriterAdapter<K,V> extends Object implements CacheWriter
| Constructor and Description |
|---|
JCacheWriterAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete(Object key) |
void |
init(InitializationContext ctx)
Used to initialize a cache loader.
|
void |
setCacheWriter(javax.cache.integration.CacheWriter<? super K,? super V> delegate) |
void |
start()
Invoked on component start
|
void |
stop()
Invoked on component stop
|
void |
write(MarshalledEntry entry)
Persists the entry to the storage.
|
public void setCacheWriter(javax.cache.integration.CacheWriter<? super K,? super V> delegate)
public void init(InitializationContext ctx)
CacheWriterPersistenceManager
when setting up cache loaders.init in interface CacheWriterpublic void write(MarshalledEntry entry)
CacheWriterwrite in interface CacheWriterMarshalledEntrypublic boolean delete(Object key)
delete in interface CacheWriterpublic void start()
LifecycleCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.