Enum Class TimeoutDescriptorMarshaller

java.lang.Object
java.lang.Enum<TimeoutDescriptorMarshaller>
org.wildfly.clustering.ejb.cache.timer.TimeoutDescriptorMarshaller
All Implemented Interfaces:
Serializable, Comparable<TimeoutDescriptorMarshaller>, Constable, org.wildfly.clustering.marshalling.protostream.FieldReadable<TimeoutDescriptor>, org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller<TimeoutDescriptor,TimeoutDescriptor>, org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller.Simple<TimeoutDescriptor>, org.wildfly.clustering.marshalling.protostream.Writable<TimeoutDescriptor>

public enum TimeoutDescriptorMarshaller extends Enum<TimeoutDescriptorMarshaller> implements org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller.Simple<TimeoutDescriptor>
Marshaller for a TimeoutDescriptor.
Author:
Paul Ferraro
  • Enum Constant Details

  • Method Details

    • values

      public static TimeoutDescriptorMarshaller[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TimeoutDescriptorMarshaller valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • createInitialValue

      public TimeoutDescriptor createInitialValue()
      Specified by:
      createInitialValue in interface org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller<TimeoutDescriptor,TimeoutDescriptor>
    • getFields

      public int getFields()
      Specified by:
      getFields in interface org.wildfly.clustering.marshalling.protostream.FieldReadable<TimeoutDescriptor>
    • readFrom

      public TimeoutDescriptor readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader, int index, org.infinispan.protostream.descriptors.WireType type, TimeoutDescriptor descriptor) throws IOException
      Specified by:
      readFrom in interface org.wildfly.clustering.marshalling.protostream.FieldReadable<TimeoutDescriptor>
      Throws:
      IOException
    • writeTo

      public void writeTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, TimeoutDescriptor descriptor) throws IOException
      Specified by:
      writeTo in interface org.wildfly.clustering.marshalling.protostream.Writable<TimeoutDescriptor>
      Throws:
      IOException