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, flush, setDelete, setItemKeyMapper, write
public void setTemplate(org.springframework.data.gemfire.GemfireTemplate gemfireTemplate)
gemfireTemplate
- the GemfireTemplate
to setprotected void writeKeyValue(K key, V value)
KeyValueItemWriter
writeKeyValue
in class KeyValueItemWriter<K,V>
key
- the keyvalue
- the itemprotected void init()
KeyValueItemWriter
init
in class KeyValueItemWriter<K,V>