private static class MemoryBoundedLogMessageBuffer.LogMessage extends Object
| Modifier and Type | Field and Description | 
|---|---|
| private static long | BASE_USAGECompletely non-scientific estimate of how much one of these
 objects takes, along with the LinkedList overhead. | 
| byte[] | messagethe error text, encoded in bytes to save memory | 
| long | timestamp | 
| Constructor and Description | 
|---|
| LogMessage(String message,
          long timestamp) | 
| Modifier and Type | Method and Description | 
|---|---|
| long | estimateHeapUsage() | 
public final byte[] message
public final long timestamp
private static final long BASE_USAGE
public LogMessage(String message, long timestamp)
public long estimateHeapUsage()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.