Modifier and Type | Method and Description |
---|---|
<T> Copier<T> |
createKeyCopier(java.lang.Class<T> clazz,
Serializer<T> serializer,
ServiceConfiguration<?>... configs)
Creates a key
Copier with the given parameters. |
<T> Copier<T> |
createValueCopier(java.lang.Class<T> clazz,
Serializer<T> serializer,
ServiceConfiguration<?>... configs)
Creates a value
Copier with the given parameters. |
<T> Copier<T> createKeyCopier(java.lang.Class<T> clazz, Serializer<T> serializer, ServiceConfiguration<?>... configs)
Copier
with the given parameters.T
- the type to copy to/fromclazz
- the class of the type to copy to/fromserializer
- the serializer that can be used to perform the copying. The usage is optional though.configs
- specific configurationsCopier
instance<T> Copier<T> createValueCopier(java.lang.Class<T> clazz, Serializer<T> serializer, ServiceConfiguration<?>... configs)
Copier
with the given parameters.T
- the type to copy to/fromclazz
- the class of the type to copy to/fromserializer
- the serializer that can be used to perform the copying. The usage is optional though.configs
- specific configurationsCopier
instance