V - value typeVR - transformed value typepublic interface ValueTransformerSupplier<V,VR> extends ConnectedStoreProvider
ValueTransformerSupplier interface which can create one or more ValueTransformer instances. The supplier should always generate a new instance each time get() gets called. Creating a single ValueTransformer 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 |
|---|---|
ValueTransformer<V,VR> | get()Return a newly constructed ValueTransformer instance. |
storesValueTransformer<V,VR> get()
ValueTransformer instance. The supplier should always generate a new instance each time get() gets called. Creating a single ValueTransformer object and returning the same object reference in get() is a violation of the supplier pattern and leads to runtime exceptions.
ValueTransformer instance