Class GCDiagnosticsSnapshotDTO

java.lang.Object
org.apache.nifi.api.toolkit.model.GCDiagnosticsSnapshotDTO

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]") public class GCDiagnosticsSnapshotDTO extends Object
GCDiagnosticsSnapshotDTO
  • Field Details

    • timestamp

      private OffsetDateTime timestamp
    • collectionCount

      private Long collectionCount
    • collectionMillis

      private Long collectionMillis
  • Constructor Details

    • GCDiagnosticsSnapshotDTO

      public GCDiagnosticsSnapshotDTO()
  • Method Details

    • timestamp

      public GCDiagnosticsSnapshotDTO timestamp(OffsetDateTime timestamp)
    • getTimestamp

      public OffsetDateTime getTimestamp()
      The timestamp of when the Snapshot was taken
      Returns:
      timestamp
    • setTimestamp

      public void setTimestamp(OffsetDateTime timestamp)
    • collectionCount

      public GCDiagnosticsSnapshotDTO collectionCount(Long collectionCount)
    • getCollectionCount

      public Long getCollectionCount()
      The number of times that Garbage Collection has occurred
      Returns:
      collectionCount
    • setCollectionCount

      public void setCollectionCount(Long collectionCount)
    • collectionMillis

      public GCDiagnosticsSnapshotDTO collectionMillis(Long collectionMillis)
    • getCollectionMillis

      public Long getCollectionMillis()
      The number of milliseconds that the Garbage Collector spent performing Garbage Collection duties
      Returns:
      collectionMillis
    • setCollectionMillis

      public void setCollectionMillis(Long collectionMillis)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toIndentedString

      private String toIndentedString(Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).