| Package | Description |
|---|---|
| org.infinispan.protostream |
Library for easy and efficient marshalling of Java objects in Protocol Buffers format.
|
| org.infinispan.protostream.annotations.impl |
Holds the internal representation of Protobuf type metadata defined via annotations and the processors that handle
this metadata in order to generate protobuf schemas and marshallers.
|
| org.infinispan.protostream.impl |
Protostream internals.
|
| org.infinispan.protostream.sampledomain.marshallers |
| Modifier and Type | Interface and Description |
|---|---|
interface |
EnumMarshaller<E extends java.lang.Enum<E>>
Translates a Java enum into an
int value that is suitable for serializing with protobuf. |
interface |
MessageMarshaller<T> |
interface |
RawProtobufMarshaller<T>
A marshaller for messages that has direct access to the low level protobuf streams to read and write tags in an
unchecked manner.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
WrappedMessage.Marshaller |
| Modifier and Type | Method and Description |
|---|---|
<T> BaseMarshaller<T> |
SerializationContext.getMarshaller(java.lang.Class<T> clazz) |
<T> BaseMarshaller<T> |
SerializationContext.getMarshaller(java.lang.String descriptorFullName) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
SerializationContext.registerMarshaller(BaseMarshaller<T> marshaller)
Register a type marshaller.
|
| Modifier and Type | Field and Description |
|---|---|
protected BaseMarshaller |
ProtoTypeMetadata.marshaller |
| Modifier and Type | Method and Description |
|---|---|
BaseMarshaller |
ProtoTypeMetadata.getMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
ProtoTypeMetadata.setMarshaller(BaseMarshaller marshaller) |
| Constructor and Description |
|---|
ProtoTypeMetadata(BaseMarshaller marshaller) |
| Modifier and Type | Class and Description |
|---|---|
class |
ProtocMessageMarshaller<T extends com.google.protobuf.MessageLite>
Marshaller for Google's Protobuf message classes generated by protoc tool.
|
| Modifier and Type | Method and Description |
|---|---|
BaseMarshaller<T> |
BaseMarshallerDelegate.getMarshaller()
Gets the wrapped marshaller.
|
<T> BaseMarshaller<T> |
SerializationContextImpl.getMarshaller(java.lang.Class<T> clazz) |
<T> BaseMarshaller<T> |
SerializationContextImpl.getMarshaller(java.lang.String descriptorFullName) |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
SerializationContextImpl.registerMarshaller(BaseMarshaller<T> marshaller) |
| Modifier and Type | Class and Description |
|---|---|
class |
AccountMarshaller |
class |
AddressMarshaller |
class |
GenderMarshaller |
class |
LimitsMarshaller |
class |
TransactionMarshaller |
class |
UserMarshaller |