Package org.jgroups.tests.perf
Class PerfUtil.PutCall
- java.lang.Object
-
- org.jgroups.blocks.MethodCall
-
- org.jgroups.tests.perf.PerfUtil.PutCall
-
- All Implemented Interfaces:
Constructable<MethodCall>,SizeStreamable,Streamable
- Enclosing class:
- PerfUtil
public static class PerfUtil.PutCall extends MethodCall implements SizeStreamable
-
-
Field Summary
-
Fields inherited from class org.jgroups.blocks.MethodCall
args, method, method_id, method_name, types
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.function.Supplier<? extends MethodCall>create()Creates an instance of the class implementing this interfacevoidreadFrom(java.io.DataInput in)Read the state of the current object (including superclasses) from instream Note that the input stream must not be closedintserializedSize()Returns the size (in bytes) of the marshalled objectvoidwriteTo(java.io.DataOutput out)Write the entire state of the current object (including superclasses) to outstream.-
Methods inherited from class org.jgroups.blocks.MethodCall
assertNotNegative, getArgs, getMethod, getMethodId, getMethodName, invoke, invoke, readArg, readArgs, readTypes, setArgs, setMethod, setMethodId, toString, toStringDetails, useIds, writeArg, writeArgs, writeMethod, writeTypes
-
-
-
-
Method Detail
-
create
public java.util.function.Supplier<? extends MethodCall> create()
Description copied from interface:ConstructableCreates an instance of the class implementing this interface- Specified by:
createin interfaceConstructable<MethodCall>- Overrides:
createin classMethodCall
-
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- Overrides:
writeToin classMethodCall- Throws:
java.io.IOException
-
readFrom
public void readFrom(java.io.DataInput in) throws java.io.IOException, java.lang.ClassNotFoundExceptionDescription 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- Overrides:
readFromin classMethodCall- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
serializedSize
public int serializedSize()
Description copied from interface:SizeStreamableReturns the size (in bytes) of the marshalled object- Specified by:
serializedSizein interfaceSizeStreamable
-
-