Package org.jgroups.tests.perf
Class MPerf.Configuration
- java.lang.Object
-
- org.jgroups.tests.perf.MPerf.Configuration
-
- All Implemented Interfaces:
Streamable
- Enclosing class:
- MPerf
protected static class MPerf.Configuration extends java.lang.Object implements Streamable
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<MPerf.ConfigChange>changes
-
Constructor Summary
Constructors Constructor Description Configuration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MPerf.ConfigurationaddChange(java.lang.String key, java.lang.Object val)voidreadFrom(java.io.DataInput in)Read the state of the current object (including superclasses) from instream Note that the input stream must not be closedintsize()voidwriteTo(java.io.DataOutput out)Write the entire state of the current object (including superclasses) to outstream.
-
-
-
Field Detail
-
changes
protected java.util.List<MPerf.ConfigChange> changes
-
-
Method Detail
-
addChange
public MPerf.Configuration addChange(java.lang.String key, java.lang.Object val) throws java.lang.Exception
- Throws:
java.lang.Exception
-
size
public int size()
-
writeTo
public void writeTo(java.io.DataOutput out) throws java.io.IOExceptionDescription copied from interface:StreamableWrite the entire state of the current object (including superclasses) to outstream. Note that the output stream must not be closed- Specified by:
writeToin interfaceStreamable- Throws:
java.io.IOException
-
readFrom
public void readFrom(java.io.DataInput in) throws java.io.IOExceptionDescription copied from interface:StreamableRead the state of the current object (including superclasses) from instream Note that the input stream must not be closed- Specified by:
readFromin interfaceStreamable- Throws:
java.io.IOException
-
-