Enum TimeoutDescriptorMarshaller

java.lang.Object
java.lang.Enum<TimeoutDescriptorMarshaller>
org.wildfly.clustering.ejb.cache.timer.TimeoutDescriptorMarshaller
All Implemented Interfaces:
Serializable, Comparable<TimeoutDescriptorMarshaller>, 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
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller

    org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller.Simple<T extends Object>, org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller.Supplied<T extends Object,V extends Supplier<T>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
     
    readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader, int index, org.infinispan.protostream.descriptors.WireType type, TimeoutDescriptor descriptor)
     
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.
    void
    writeTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, TimeoutDescriptor descriptor)
     

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

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

    nextIndex

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

    asMarshaller, asMarshaller

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller.Simple

    build
  • Enum Constant Details

  • Method Details

    • values

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

      public static TimeoutDescriptorMarshaller valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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