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