public abstract class GCCollectionEvent extends AbstractBuckEvent
GCNotificationEventEmitter. Subclasses
contain information about the nature of this collection (major or minor), while this class
contains information about the duration and memory statistics of this GC.BUILD_FINISHED, BUILD_REPORT, BUILD_STARTED, BUILD_STATUS_EVENT, CACHE_RATE_STATS_UPDATE_EVENT, INDIVIDUAL_TEST_AWAITING_RESULTS, INSTALL_STARTED, PARSE_FINISHED, PARSE_STARTED, PROJECT_GENERATION_FINISHED, PROJECT_GENERATION_STARTED, TEST_RUN_STARTED| Modifier and Type | Method and Description |
|---|---|
long |
getDurationInMillis() |
long |
getId() |
com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableMap<String,Long>> |
getMemoryUsageAfterGC() |
com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableMap<String,Long>> |
getMemoryUsageBeforeGC() |
protected String |
getValueString() |
configure, equals, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, getTimestampMillis, hashCode, isConfigured, isRelatedTo, toLogMessage, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetEventName, storeLastInstanceAndReplayForNewClientspublic long getId()
public long getDurationInMillis()
public com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableMap<String,Long>> getMemoryUsageBeforeGC()
public com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableMap<String,Long>> getMemoryUsageAfterGC()
protected String getValueString()
getValueString in class AbstractBuckEvent