Package io.deephaven.io.logger
Class LogBufferRecord
- java.lang.Object
-
- io.deephaven.io.logger.LogBufferRecord
-
- All Implemented Interfaces:
java.io.Externalizable,java.io.Serializable
public class LogBufferRecord extends java.lang.Object implements java.io.Externalizable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LogBufferRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogBufferRecorddeepCopy()java.nio.ByteBuffergetData()java.lang.StringgetDataString()LogLevelgetLevel()longgetTimestampMicros()voidreadExternal(java.io.ObjectInput in)voidsetData(java.nio.ByteBuffer data)voidsetLevel(LogLevel level)voidsetTimestampMicros(long timestampMicros)voidwriteExternal(java.io.ObjectOutput out)
-
-
-
Method Detail
-
getTimestampMicros
public long getTimestampMicros()
-
setTimestampMicros
public void setTimestampMicros(long timestampMicros)
-
getLevel
public LogLevel getLevel()
-
setLevel
public void setLevel(LogLevel level)
-
getData
public java.nio.ByteBuffer getData()
-
setData
public void setData(java.nio.ByteBuffer data)
-
deepCopy
public LogBufferRecord deepCopy()
-
readExternal
public void readExternal(@NotNull java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException- Specified by:
readExternalin interfacejava.io.Externalizable- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
writeExternal
public void writeExternal(@NotNull java.io.ObjectOutput out) throws java.io.IOException- Specified by:
writeExternalin interfacejava.io.Externalizable- Throws:
java.io.IOException
-
getDataString
public java.lang.String getDataString()
-
-