public class CacheWriterAdapter<K,V> extends java.lang.Object implements CacheWriterExt<K,V>
Constructor and Description |
---|
CacheWriterAdapter(CacheWriter<K,V> writer) |
Modifier and Type | Method and Description |
---|---|
void |
delete(DistCacheEntry entry) |
void |
delete(java.lang.Object key) |
void |
deleteAll(java.util.Collection<?> entries) |
java.lang.String |
toString() |
void |
updateTime(DistCacheEntry distCacheEntry) |
void |
write(Cache.Entry<K,V> entry) |
void |
write(DistCacheEntry entry) |
void |
writeAll(java.util.Collection<Cache.Entry<? extends K,? extends V>> entries) |
public CacheWriterAdapter(CacheWriter<K,V> writer)
public void write(Cache.Entry<K,V> entry)
write
in interface CacheWriter<K,V>
public void writeAll(java.util.Collection<Cache.Entry<? extends K,? extends V>> entries)
writeAll
in interface CacheWriter<K,V>
public void delete(java.lang.Object key)
delete
in interface CacheWriter<K,V>
public void deleteAll(java.util.Collection<?> entries)
deleteAll
in interface CacheWriter<K,V>
public void write(DistCacheEntry entry)
write
in interface CacheWriterExt<K,V>
public void delete(DistCacheEntry entry)
delete
in interface CacheWriterExt<K,V>
public void updateTime(DistCacheEntry distCacheEntry)
updateTime
in interface CacheWriterExt<K,V>
public java.lang.String toString()
toString
in class java.lang.Object