Interface MarshalledValueFactory<C>

Type Parameters:
C - the marshalling context type
All Superinterfaces:
Marshallability
All Known Implementing Classes:
ByteBufferMarshalledKeyFactory, ByteBufferMarshalledValueFactory

public interface MarshalledValueFactory<C> extends Marshallability
Factory for creating marshalled values.
Author:
Paul Ferraro
  • Method Details

    • createMarshalledValue

      <T> MarshalledValue<T,C> createMarshalledValue(T object)
      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