public final class ConcurrentGCEvent extends AbstractGCEvent<ConcurrentGCEvent>
AbstractGCEvent.CollectionType, AbstractGCEvent.Concurrency, AbstractGCEvent.ExtendedType, AbstractGCEvent.GcPattern, AbstractGCEvent.Generation, AbstractGCEvent.Typedetails, generation| Constructor and Description |
|---|
ConcurrentGCEvent() |
| Modifier and Type | Method and Description |
|---|---|
ConcurrentGCEvent |
cloneAndMerge(AbstractGCEvent<ConcurrentGCEvent> otherEvent) |
boolean |
equals(Object o) |
double |
getDuration()
Time this step in the concurrent GC mechanism took.
|
boolean |
hasDuration() |
int |
hashCode() |
void |
setDuration(double duration)
Set duration.
|
void |
toStringBuffer(StringBuffer sb) |
add, addPhase, clone, details, getDatestamp, getExtendedType, getGeneration, getNumber, getPause, getPhases, getPostUsed, getPreUsed, getTimestamp, getTotal, getTypeAsString, hasDetails, hasMemoryInformation, hasPause, isConcurrencyHelper, isConcurrent, isConcurrentCollectionEnd, isConcurrentCollectionStart, isFull, isInc, isInitialMark, isRemark, isStopTheWorld, isSystem, setDateStamp, setExtendedType, setNumber, setPause, setPostUsed, setPreUsed, setTimestamp, setTotal, setType, toStringpublic double getDuration()
[CMS-concurrent-sweep: 0.005/<em>0.015</em> secs]
So in this example the time that was exclusively spent on the step would be 0.005secs of an overall duration of 0.015secs.
So AbstractGCEvent.getPause() returns the time that was exclusively spent.
public ConcurrentGCEvent cloneAndMerge(AbstractGCEvent<ConcurrentGCEvent> otherEvent)
cloneAndMerge in class AbstractGCEvent<ConcurrentGCEvent>public void setDuration(double duration)
duration - time spent in gc mechanismgetDuration()public boolean hasDuration()
public void toStringBuffer(StringBuffer sb)
toStringBuffer in class AbstractGCEvent<ConcurrentGCEvent>public boolean equals(Object o)
equals in class AbstractGCEvent<ConcurrentGCEvent>public int hashCode()
hashCode in class AbstractGCEvent<ConcurrentGCEvent>Copyright © 2019. All rights reserved.