Enum Class ScheduleCommandMarshaller

java.lang.Object
java.lang.Enum<ScheduleCommandMarshaller>
org.wildfly.clustering.server.infinispan.scheduler.ScheduleCommandMarshaller
All Implemented Interfaces:
Serializable, Comparable<ScheduleCommandMarshaller>, Constable, org.infinispan.protostream.BaseMarshaller<ScheduleCommand<Object,Object>>, org.infinispan.protostream.ProtobufTagMarshaller<ScheduleCommand<Object,Object>>, org.wildfly.clustering.marshalling.protostream.Marshallable<ScheduleCommand<Object,Object>>, org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller<ScheduleCommand<Object,Object>>, org.wildfly.clustering.marshalling.protostream.Readable<ScheduleCommand<Object,Object>>, org.wildfly.clustering.marshalling.protostream.Writable<ScheduleCommand<Object,Object>>

public enum ScheduleCommandMarshaller extends Enum<ScheduleCommandMarshaller> implements org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller<ScheduleCommand<Object,Object>>
ProtoStream marshaller for a ScheduleCommand.
Author:
Paul Ferraro
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>

    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
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Singleton instance
  • Field Summary

    Fields inherited from interface org.infinispan.protostream.BaseMarshaller

    EMPTY
  • Method Summary

    Modifier and Type
    Method
    Description
     
    readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader)
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.
    void
    writeTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, ScheduleCommand<Object,Object> command)
     

    Methods inherited from class Object

    getClass, notify, notifyAll, 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
  • Enum Constant Details

  • Method Details

    • values

      public static ScheduleCommandMarshaller[] 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 ScheduleCommandMarshaller 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
    • getJavaClass

      public Class<? extends ScheduleCommand<Object,Object>> getJavaClass()
      Specified by:
      getJavaClass in interface org.infinispan.protostream.BaseMarshaller<ScheduleCommand<Object,Object>>
      Specified by:
      getJavaClass in interface org.wildfly.clustering.marshalling.protostream.Marshallable<ScheduleCommand<Object,Object>>
    • readFrom

      public ScheduleCommand<Object,Object> readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader) throws IOException
      Specified by:
      readFrom in interface org.wildfly.clustering.marshalling.protostream.Readable<ScheduleCommand<Object,Object>>
      Throws:
      IOException
    • writeTo

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