public class GemfireItemWriter<K,V> extends KeyValueItemWriter<K,V>
ItemWriter that stores items in GemFiredelete, itemKeyMapper| Constructor and Description |
|---|
GemfireItemWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
init()
afterPropertiesSet() hook
|
void |
setTemplate(org.springframework.data.gemfire.GemfireTemplate gemfireTemplate) |
protected void |
writeKeyValue(K key,
V value)
Subclasses implement this method to write each item to key value store
|
afterPropertiesSet, setDelete, setItemKeyMapper, writepublic void setTemplate(org.springframework.data.gemfire.GemfireTemplate gemfireTemplate)
gemfireTemplate - the GemfireTemplate to setprotected void writeKeyValue(K key, V value)
KeyValueItemWriterwriteKeyValue in class KeyValueItemWriter<K,V>key - the keyvalue - the itemprotected void init()
KeyValueItemWriterinit in class KeyValueItemWriter<K,V>