Kieker 1.12

kieker.common.record.system
Class CPUUtilizationRecordFactory

java.lang.Object
  extended by kieker.common.record.system.CPUUtilizationRecordFactory
All Implemented Interfaces:
IRecordFactory<CPUUtilizationRecord>

public final class CPUUtilizationRecordFactory
extends java.lang.Object
implements IRecordFactory<CPUUtilizationRecord>

Since:
1.3
Author:
Andre van Hoorn, Jan Waller

Field Summary
 
Fields inherited from interface kieker.common.record.factory.IRecordFactory
UNKNOWN_RECORD_SIZE
 
Constructor Summary
CPUUtilizationRecordFactory()
           
 
Method Summary
 CPUUtilizationRecord create(java.nio.ByteBuffer buffer, IRegistry<java.lang.String> stringRegistry)
           
 CPUUtilizationRecord create(java.lang.Object[] values)
           
 int getRecordSizeInBytes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPUUtilizationRecordFactory

public CPUUtilizationRecordFactory()
Method Detail

create

public CPUUtilizationRecord create(java.nio.ByteBuffer buffer,
                                   IRegistry<java.lang.String> stringRegistry)
Specified by:
create in interface IRecordFactory<CPUUtilizationRecord>
Parameters:
buffer - the buffer to read from
stringRegistry - the registry to read strings from
Returns:
a new instance of the declared record type

create

public CPUUtilizationRecord create(java.lang.Object[] values)
Specified by:
create in interface IRecordFactory<CPUUtilizationRecord>
Parameters:
values - the values used to fill the new instance
Returns:
a new instance of the declared record type

getRecordSizeInBytes

public int getRecordSizeInBytes()
Specified by:
getRecordSizeInBytes in interface IRecordFactory<CPUUtilizationRecord>
Returns:
the size (in bytes) of the record in the serialized form, or a negative value represented by the constant IRecordFactory.UNKNOWN_RECORD_SIZE if the size is unknown in advance.

Kieker 1.12

Copyright 2015 Kieker Project, http://kieker-monitoring.net