Class YearMonthMarshaller

java.lang.Object
org.wildfly.clustering.marshalling.protostream.time.YearMonthMarshaller
All Implemented Interfaces:
org.infinispan.protostream.BaseMarshaller<YearMonth>, org.infinispan.protostream.ProtobufTagMarshaller<YearMonth>, Marshallable<YearMonth>, ProtoStreamMarshaller<YearMonth>, Readable<YearMonth>, Writable<YearMonth>

public class YearMonthMarshaller extends Object implements ProtoStreamMarshaller<YearMonth>
Marshaller for YearMonth instances, using the following strategy:
  1. Marshal epoch year
  2. Marshal month as enum
Author:
Paul Ferraro
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.infinispan.protostream.ProtobufTagMarshaller

    org.infinispan.protostream.ProtobufTagMarshaller.OperationContext, org.infinispan.protostream.ProtobufTagMarshaller.ReadContext, org.infinispan.protostream.ProtobufTagMarshaller.WriteContext
  • Field Summary

    Fields inherited from interface org.infinispan.protostream.BaseMarshaller

    EMPTY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<? extends YearMonth>
    Returns the type of object handled by this marshallable instance.
    Reads an object from the specified reader.
    void
    Writes the specified object to the specified writer.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.infinispan.protostream.BaseMarshaller

    getSubClassNames

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.Marshallable

    size

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller

    getTypeName, read, wrap, wrap, write
  • Constructor Details

    • YearMonthMarshaller

      public YearMonthMarshaller()
  • Method Details