Class TrafficDto

java.lang.Object
org.graylog2.system.traffic.TrafficDto
All Implemented Interfaces:
MongoEntity

public abstract class TrafficDto extends Object implements MongoEntity
  • Constructor Details

    • TrafficDto

      public TrafficDto()
  • Method Details

    • id

      @Nullable public abstract String id()
      Description copied from interface: MongoEntity
      ID of the entity. Will be stored as field "_id" with type ObjectId in MongoDB.
      Specified by:
      id in interface MongoEntity
      Returns:
      Hex string representation of the entity's ID
    • bucket

      public abstract org.joda.time.DateTime bucket()
    • input

      public abstract Map<String,Long> input()
    • output

      public abstract Map<String,Long> output()
    • decoded

      public abstract Map<String,Long> decoded()
    • toBuilder

      public abstract TrafficDto.Builder toBuilder()
    • builder

      public static TrafficDto.Builder builder()