org.jgroups.util
Interface SizeStreamable

All Superinterfaces:
Streamable
All Known Implementing Classes:
GossipData, PingData

public interface SizeStreamable
extends Streamable

Interface implementing Streamable and returning the size of the marshalled object. Might get merged into Streamable itself in 4.0.

Since:
3.3
Author:
Bela Ban

Method Summary
 int size()
          Returns the size (in bytes) of the marshalled object
 
Methods inherited from interface org.jgroups.util.Streamable
readFrom, writeTo
 

Method Detail

size

int size()
Returns the size (in bytes) of the marshalled object



Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.