Record Class SchedulerTrafficSnapshot.Transfer

java.lang.Object
java.lang.Record
ecmwf.ecpds.master.SchedulerTrafficSnapshot.Transfer
All Implemented Interfaces:
Serializable
Enclosing class:
SchedulerTrafficSnapshot

public static record SchedulerTrafficSnapshot.Transfer(long transferId, long dataFileId, String destination, String target, String transferStatus, String phase, String sourceMover, String targetHost, long size, long startedAt) extends Record implements Serializable
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Transfer(long transferId, long dataFileId, String destination, String target, String transferStatus, String phase, String sourceMover, String targetHost, long size, long startedAt)
    Creates an instance of a Transfer record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the value of the dataFileId record component.
    Returns the value of the destination record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    Returns the value of the phase record component.
    long
    Returns the value of the size record component.
    Returns the value of the sourceMover record component.
    long
    Returns the value of the startedAt record component.
    Returns the value of the target record component.
    Returns the value of the targetHost record component.
    final String
    Returns a string representation of this record class.
    long
    Returns the value of the transferId record component.
    Returns the value of the transferStatus record component.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Transfer

      public Transfer(long transferId, long dataFileId, String destination, String target, String transferStatus, String phase, String sourceMover, String targetHost, long size, long startedAt)
      Creates an instance of a Transfer record class.
      Parameters:
      transferId - the value for the transferId record component
      dataFileId - the value for the dataFileId record component
      destination - the value for the destination record component
      target - the value for the target record component
      transferStatus - the value for the transferStatus record component
      phase - the value for the phase record component
      sourceMover - the value for the sourceMover record component
      targetHost - the value for the targetHost record component
      size - the value for the size record component
      startedAt - the value for the startedAt record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • transferId

      public long transferId()
      Returns the value of the transferId record component.
      Returns:
      the value of the transferId record component
    • dataFileId

      public long dataFileId()
      Returns the value of the dataFileId record component.
      Returns:
      the value of the dataFileId record component
    • destination

      public String destination()
      Returns the value of the destination record component.
      Returns:
      the value of the destination record component
    • target

      public String target()
      Returns the value of the target record component.
      Returns:
      the value of the target record component
    • transferStatus

      public String transferStatus()
      Returns the value of the transferStatus record component.
      Returns:
      the value of the transferStatus record component
    • phase

      public String phase()
      Returns the value of the phase record component.
      Returns:
      the value of the phase record component
    • sourceMover

      public String sourceMover()
      Returns the value of the sourceMover record component.
      Returns:
      the value of the sourceMover record component
    • targetHost

      public String targetHost()
      Returns the value of the targetHost record component.
      Returns:
      the value of the targetHost record component
    • size

      public long size()
      Returns the value of the size record component.
      Returns:
      the value of the size record component
    • startedAt

      public long startedAt()
      Returns the value of the startedAt record component.
      Returns:
      the value of the startedAt record component