Class Traffic

All Implemented Interfaces:
Serializable, Cloneable

public final class Traffic extends DataBaseObject
ECMWF Product Data Store (OpenECPDS) Project.
Since:
2024-07-01
Version:
6.7.7
Author:
Laurent Gougeon - syi@ecmwf.int, ECMWF.
See Also:
  • Field Details

    • BAN_DATE

      protected String BAN_DATE
      The ban date.
    • BAN_BYTES

      protected long BAN_BYTES
      The ban bytes.
    • BAN_DURATION

      protected long BAN_DURATION
      The ban duration.
    • BAN_FILES

      protected int BAN_FILES
      The ban files.
  • Constructor Details

    • Traffic

      public Traffic()
  • Method Details

    • getDate

      public String getDate()
      Gets the date.
      Returns:
      the date
    • setDate

      public void setDate(String date)
      Sets the date.
      Parameters:
      date - the new date
    • getBytes

      public long getBytes()
      Gets the bytes.
      Returns:
      the bytes
    • setBytes

      public void setBytes(long bytes)
      Sets the bytes.
      Parameters:
      bytes - the new bytes
    • getDuration

      public long getDuration()
      Gets the duration.
      Returns:
      the duration
    • setDuration

      public void setDuration(long duration)
      Sets the duration.
      Parameters:
      duration - the new duration
    • getFiles

      public int getFiles()
      Gets the files.
      Returns:
      the files
    • setFiles

      public void setFiles(int files)
      Sets the files.
      Parameters:
      files - the new files
    • update

      public void update(long bytes, long duration, int files)
      Update.
      Parameters:
      bytes - the bytes
      duration - the duration
      files - the files
    • clear

      public void clear()
      Clear.