Class HostMemory
- java.lang.Object
-
- org.opennms.netmgt.telemetry.protocols.sflow.parser.proto.flows.HostMemory
-
- All Implemented Interfaces:
CounterData
public class HostMemory extends java.lang.Object implements CounterData
-
-
Field Summary
Fields Modifier and Type Field Description com.google.common.primitives.UnsignedLong
mem_buffers
com.google.common.primitives.UnsignedLong
mem_cached
com.google.common.primitives.UnsignedLong
mem_free
com.google.common.primitives.UnsignedLong
mem_shared
com.google.common.primitives.UnsignedLong
mem_total
long
page_in
long
page_out
com.google.common.primitives.UnsignedLong
swap_free
long
swap_in
long
swap_out
com.google.common.primitives.UnsignedLong
swap_total
-
Constructor Summary
Constructors Constructor Description HostMemory(io.netty.buffer.ByteBuf buffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
void
writeBson(org.bson.BsonWriter bsonWriter, SampleDatagramEnrichment enr)
-
-
-
Field Detail
-
mem_total
public final com.google.common.primitives.UnsignedLong mem_total
-
mem_free
public final com.google.common.primitives.UnsignedLong mem_free
-
mem_shared
public final com.google.common.primitives.UnsignedLong mem_shared
-
mem_buffers
public final com.google.common.primitives.UnsignedLong mem_buffers
-
mem_cached
public final com.google.common.primitives.UnsignedLong mem_cached
-
swap_total
public final com.google.common.primitives.UnsignedLong swap_total
-
swap_free
public final com.google.common.primitives.UnsignedLong swap_free
-
page_in
public final long page_in
-
page_out
public final long page_out
-
swap_in
public final long swap_in
-
swap_out
public final long swap_out
-
-
Constructor Detail
-
HostMemory
public HostMemory(io.netty.buffer.ByteBuf buffer) throws InvalidPacketException
- Throws:
InvalidPacketException
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
writeBson
public void writeBson(org.bson.BsonWriter bsonWriter, SampleDatagramEnrichment enr)
- Specified by:
writeBson
in interfaceCounterData
-
-