Record Class SchedulerTrafficSnapshot.Transfer
java.lang.Object
java.lang.Record
ecmwf.ecpds.master.SchedulerTrafficSnapshot.Transfer
- All Implemented Interfaces:
Serializable
- Enclosing class:
SchedulerTrafficSnapshot
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thedataFileIdrecord component.Returns the value of thedestinationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.phase()Returns the value of thephaserecord component.longsize()Returns the value of thesizerecord component.Returns the value of thesourceMoverrecord component.longReturns the value of thestartedAtrecord component.target()Returns the value of thetargetrecord component.Returns the value of thetargetHostrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetransferIdrecord component.Returns the value of thetransferStatusrecord component.
-
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 aTransferrecord class.- Parameters:
transferId- the value for thetransferIdrecord componentdataFileId- the value for thedataFileIdrecord componentdestination- the value for thedestinationrecord componenttarget- the value for thetargetrecord componenttransferStatus- the value for thetransferStatusrecord componentphase- the value for thephaserecord componentsourceMover- the value for thesourceMoverrecord componenttargetHost- the value for thetargetHostrecord componentsize- the value for thesizerecord componentstartedAt- the value for thestartedAtrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
transferId
public long transferId()Returns the value of thetransferIdrecord component.- Returns:
- the value of the
transferIdrecord component
-
dataFileId
public long dataFileId()Returns the value of thedataFileIdrecord component.- Returns:
- the value of the
dataFileIdrecord component
-
destination
Returns the value of thedestinationrecord component.- Returns:
- the value of the
destinationrecord component
-
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
transferStatus
Returns the value of thetransferStatusrecord component.- Returns:
- the value of the
transferStatusrecord component
-
phase
Returns the value of thephaserecord component.- Returns:
- the value of the
phaserecord component
-
sourceMover
Returns the value of thesourceMoverrecord component.- Returns:
- the value of the
sourceMoverrecord component
-
targetHost
Returns the value of thetargetHostrecord component.- Returns:
- the value of the
targetHostrecord component
-
size
public long size()Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-
startedAt
public long startedAt()Returns the value of thestartedAtrecord component.- Returns:
- the value of the
startedAtrecord component
-