Class FullGcRule.G1FullGCInfo
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.jdk.memory.FullGcRule.G1FullGCInfo
-
- All Implemented Interfaces:
IItemConsumer<FullGcRule.G1FullGCInfo>
- Enclosing class:
- FullGcRule
private static class FullGcRule.G1FullGCInfo extends java.lang.Object implements IItemConsumer<FullGcRule.G1FullGCInfo>
-
-
Field Summary
Fields Modifier and Type Field Description private IMemberAccessor<java.lang.String,IItem>
accessor
(package private) int
fullGCs
-
Constructor Summary
Constructors Constructor Description G1FullGCInfo(IMemberAccessor<java.lang.String,IItem> accessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consume(IItem item)
Consumes another item.FullGcRule.G1FullGCInfo
merge(FullGcRule.G1FullGCInfo other)
Merges this object with the supplied object.
-
-
-
Field Detail
-
accessor
private final IMemberAccessor<java.lang.String,IItem> accessor
-
fullGCs
int fullGCs
-
-
Constructor Detail
-
G1FullGCInfo
G1FullGCInfo(IMemberAccessor<java.lang.String,IItem> accessor)
-
-
Method Detail
-
merge
public FullGcRule.G1FullGCInfo merge(FullGcRule.G1FullGCInfo other)
Description copied from interface:IItemConsumer
Merges this object with the supplied object. Normally this is another item consumer of the same type and the output result is a consumer with an internal state that reflects the state of both the current consumer and the input value.- Specified by:
merge
in interfaceIItemConsumer<FullGcRule.G1FullGCInfo>
- Parameters:
other
- another instance to merge with- Returns:
- the merged instance
-
consume
public void consume(IItem item)
Description copied from interface:IItemConsumer
Consumes another item.- Specified by:
consume
in interfaceIItemConsumer<FullGcRule.G1FullGCInfo>
-
-