public abstract class AbstractGCEvent<T extends AbstractGCEvent<T>> extends Object implements Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractGCEvent.CollectionType |
static class |
AbstractGCEvent.Concurrency |
static class |
AbstractGCEvent.ExtendedType
Wrapper for the
AbstractGCEvent.Type class adding a field for the full type name. |
static class |
AbstractGCEvent.GcPattern
Patterns of additional information for gc events.
|
static class |
AbstractGCEvent.Generation |
static class |
AbstractGCEvent.Type
Representation of an event type
|
| Modifier and Type | Field and Description |
|---|---|
protected List<T> |
details |
protected AbstractGCEvent.Generation |
generation |
| Constructor and Description |
|---|
AbstractGCEvent() |
protected AbstractGCEvent.Generation generation
protected List<T extends AbstractGCEvent<T>> details
public void add(T detail)
public boolean hasDetails()
public List<AbstractGCEvent<?>> getPhases()
public void addPhase(AbstractGCEvent<?> phase)
protected Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic AbstractGCEvent<T> cloneAndMerge(AbstractGCEvent<T> otherEvent)
public void setDateStamp(ZonedDateTime datestamp)
public void setNumber(int number)
public void setTimestamp(double timestamp)
public void setType(AbstractGCEvent.Type type)
public void setExtendedType(AbstractGCEvent.ExtendedType extendedType)
public AbstractGCEvent.ExtendedType getExtendedType()
public int getNumber()
public String getTypeAsString()
public boolean isStopTheWorld()
public AbstractGCEvent.Generation getGeneration()
public double getTimestamp()
public ZonedDateTime getDatestamp()
public boolean hasMemoryInformation()
public void setPreUsed(int preUsed)
public void setPostUsed(int postUsed)
public void setTotal(int total)
public int getPreUsed()
public int getPostUsed()
public int getTotal()
public abstract void toStringBuffer(StringBuffer sb)
public boolean isFull()
public boolean isSystem()
true if triggered by "System.gc()"public boolean isInc()
public boolean isConcurrent()
public boolean isConcurrencyHelper()
public boolean isConcurrentCollectionStart()
public boolean isConcurrentCollectionEnd()
public boolean isInitialMark()
public boolean isRemark()
public boolean hasPause()
public double getPause()
public void setPause(double pause)
Copyright © 2019. All rights reserved.