K - key typeV - value typeVR - transformed value typepublic interface ValueTransformerWithKeySupplier<K,V,VR> extends ConnectedStoreProvider, Supplier<ValueTransformerWithKey<K,V,VR>>
ValueTransformerWithKeySupplier interface which can create one or more ValueTransformerWithKey instances.
The supplier should always generate a new instance each time get() gets called. Creating
a single ValueTransformerWithKey object and returning the same object reference in get() would be
a violation of the supplier pattern and leads to runtime exceptions.
| Modifier and Type | Method and Description |
|---|---|
ValueTransformerWithKey<K,V,VR> |
get()
Return a newly constructed
ValueTransformerWithKey instance. |
storesValueTransformerWithKey<K,V,VR> get()
ValueTransformerWithKey instance.
The supplier should always generate a new instance each time get() gets called.
Creating a single ValueTransformerWithKey object and returning the same object reference in get()
is a violation of the supplier pattern and leads to runtime exceptions.
get in interface Supplier<ValueTransformerWithKey<K,V,VR>>ValueTransformerWithKey instance