Interface MarshalledValueFactory<C>
- Type Parameters:
C- the marshalling context type
- All Known Implementing Classes:
ByteBufferMarshalledKeyFactory, ByteBufferMarshalledValueFactory
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription<T> MarshalledValue<T, C> createMarshalledValue(T object) Creates a new marshalled value from the specified object.The marshalling context applied to marshalled values created by this factory.Methods inherited from interface Predicate
and, compose, composeBinary, composeDouble, composeInt, composeLong, handle, negate, or, xor
-
Method Details
-
createMarshalledValue
Creates a new marshalled value from the specified object.- Type Parameters:
T- the value type- Parameters:
object- a value to be marshalled- Returns:
- a marshalled value
-
getMarshallingContext
C getMarshallingContext()The marshalling context applied to marshalled values created by this factory.- Returns:
- the marshalling context
-