Package org.jgroups.protocols
Class ProtPerfHeader
java.lang.Object
org.jgroups.Header
org.jgroups.protocols.ProtPerfHeader
- All Implemented Interfaces:
Constructable<Header>,SizeStreamable,Streamable
- Since:
- 5.2.7
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortprotected longprotected long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates an instance of the class implementing this interfaceshortReturns the magic-ID.voidRead the state of the current object (including superclasses) from instream Note that the input stream must not be closedintReturns the size (in bytes) of the marshalled objectlongstartDown(long t) longstartUp()startUp(long t) voidwriteTo(DataOutput out) The contents of this header is not serialized
-
Field Details
-
ID
public static final short ID- See Also:
-
start_down
protected long start_down -
start_up
protected long start_up
-
-
Constructor Details
-
ProtPerfHeader
public ProtPerfHeader()
-
-
Method Details
-
create
Description copied from interface:ConstructableCreates an instance of the class implementing this interface -
getMagicId
public short getMagicId()Description copied from class:HeaderReturns the magic-ID. If defined in jg-magic-map.xml, the IDs need to be the same- Specified by:
getMagicIdin classHeader
-
serializedSize
public int serializedSize()Description copied from interface:SizeStreamableReturns the size (in bytes) of the marshalled object -
startDown
public long startDown() -
startDown
-
startUp
public long startUp() -
startUp
-
writeTo
The contents of this header is not serialized- Throws:
IOException
-
readFrom
Description copied from interface:StreamableRead the state of the current object (including superclasses) from instream Note that the input stream must not be closed- Throws:
IOExceptionClassNotFoundException
-