Package org.infinispan.protostream
Interface BaseMarshaller<T>
-
- All Known Subinterfaces:
EnumMarshaller<E>,MessageMarshaller<T>,ProtobufTagMarshaller<T>,RawProtobufMarshaller<T>
- All Known Implementing Classes:
CounterConfiguration$___Marshaller_200ccbe7f9bd55cd3d0f90bae5ea29adc0a29590c936038020329c50ede7e29f,CounterState$___Marshaller_93aa5d27c0d57954ec79247b055254b02d5c87a64e0764e392772b387eb7542d,CounterType$___Marshaller_4dd4ef0972bf79fd96da56b8ce9348d84b1c42596acd7df3abf86c5e467887f5,CounterValue$___Marshaller_6ab5201133840629eb172e42cdf5d3a4375120da429274c838069a25aba775b9,KeyValueWithPrevious$___Marshaller_9145896a24b67e12a03ab245b027743214e8f0a00cff4e94594e6701c8f07ff1,MediaType$___Marshaller_f2fc301543ca54d0326b5d8ce3b7199226a678253252e7ac46f1fad54bd90568,NullValue$___Marshaller_a83283d4dbbe8b8520f457699d99f19344b973d04786829de1e22c08915e6e56,Storage$___Marshaller_ed04a8616efd062a7c88e9e578efa97c99224ac3211dd20ca76376455f84a9ae,StrongCounterKey$___Marshaller_7b60cadcd7a3ce2ea1e9b7f18578345047d9a4d4bceed7f91ab7f28ade5968e7,WeakCounterKey$___Marshaller_ecc3ac4efb216fd1f64f29c92ff5068b43cb9769af31d8afc555d56f0b476e02,WrappedByteArray$___Marshaller_dd5f1f82b70f419159a02b94c2ffa39a035efa36bc3f94e3bec8f1fb78d5e078
public interface BaseMarshaller<T>This is the base interface of the marshaller hierarchy, exposing common methods for identifying the Java and Protobuf types handled by this marshaller instance. A marshaller handles a single type pair. The marshaller implementation must be stateless and thread-safe.- Since:
- 1.0
- Author:
- anistor@redhat.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<? extends T>getJavaClass()Returns the Java type handled by this marshaller.StringgetTypeName()Returns the full name of the message or enum type, defined in a proto file.
-
-
-
Method Detail
-
getJavaClass
Class<? extends T> getJavaClass()
Returns the Java type handled by this marshaller. This must not change over multiple invocations.- Returns:
- the Java type.
-
getTypeName
String getTypeName()
Returns the full name of the message or enum type, defined in a proto file. This must not change over multiple invocations.- Returns:
- the full name of the message or enum type, defined in a proto file.
-
-