Class MemoryBoundedLogMessageBuffer.LogMessage
java.lang.Object
org.apache.hadoop.hbase.monitoring.MemoryBoundedLogMessageBuffer.LogMessage
- Enclosing class:
- MemoryBoundedLogMessageBuffer
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final long
Completely non-scientific estimate of how much one of these objects takes, along with the LinkedList overhead.final byte[]
the error text, encoded in bytes to save memoryfinal long
-
Constructor Summary
-
Method Summary
-
Field Details
-
message
the error text, encoded in bytes to save memory -
timestamp
-
BASE_USAGE
Completely non-scientific estimate of how much one of these objects takes, along with the LinkedList overhead. This doesn't need to be exact, since we don't expect a ton of these alerts.- See Also:
-
-
Constructor Details
-
LogMessage
-
-
Method Details
-
estimateHeapUsage
-