Class GCLogTrace


  • public class GCLogTrace
    extends AbstractLogTrace
    Class that represents a chunk of GC log that we are attempting to match to a known GC log pattern
    • Constructor Detail

      • GCLogTrace

        public GCLogTrace​(Matcher matcher)
    • Method Detail

      • gcCause

        public GCCause gcCause​(int base,
                               int offset)
      • gcCause

        public GCCause gcCause​(int offset)
      • gcCause

        public GCCause gcCause()
      • getPauseTime

        public double getPauseTime()
      • getDuration

        public double getDuration()
      • getDurationInSeconds

        public double getDurationInSeconds()
      • getMilliseconds

        public double getMilliseconds​(int index)
        Annoyingly we're assuming the field actually is ms instead of confirming
        Parameters:
        index - Index of the capture group.
        Returns:
        The capture group parsed to a double.
      • getMilliseconds

        public double getMilliseconds()
        Assumed to be the last capture group
        Returns:
        The last capture group parsed to a double.
      • contains

        public boolean contains​(int index,
                                String value)
      • contains

        public boolean contains​(String value)
      • hasNext

        public boolean hasNext()
      • end

        public int end()
      • toKBytes

        public long toKBytes​(int offset)
      • doubleToKBytes

        public long doubleToKBytes​(int offset)
      • toKBytes

        public long toKBytes​(long value,
                             String units)
      • getMetaspaceSummary

        public PermGenSummary getMetaspaceSummary​(int offset)
      • getOccupancyBeforeAfterWithMemoryPoolSizeSummary

        public MemoryPoolSummary getOccupancyBeforeAfterWithMemoryPoolSizeSummary​(int offset)
      • getOccupancyWithMemoryPoolSizeSummary

        public MemoryPoolSummary getOccupancyWithMemoryPoolSizeSummary​(int offset)
      • getMetaSpaceRecord

        public MetaspaceRecord getMetaSpaceRecord​(int offset)
      • getEnlargedMemoryPoolRecord

        public MetaspaceRecord getEnlargedMemoryPoolRecord​(int offset)
      • getEnlargedMetaSpaceRecord

        public MetaspaceRecord getEnlargedMetaSpaceRecord​(int offset)
      • notYetImplemented

        public void notYetImplemented()