Package org.jgroups.protocols
Class Executing.RequestWithThread
- java.lang.Object
-
- org.jgroups.protocols.Executing.Request
-
- org.jgroups.protocols.Executing.RequestWithThread
-
- All Implemented Interfaces:
Constructable<Executing.Request>,Streamable
- Enclosing class:
- Executing
protected static class Executing.RequestWithThread extends Executing.Request
-
-
Field Summary
Fields Modifier and Type Field Description protected longthreadId-
Fields inherited from class org.jgroups.protocols.Executing.Request
object, request, type
-
-
Constructor Summary
Constructors Constructor Description RequestWithThread()RequestWithThread(Executing.Type type, java.lang.Object object, long request, long threadId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.function.Supplier<? extends Executing.Request>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 closedjava.lang.StringtoString()voidwriteTo(java.io.DataOutput out)Write the entire state of the current object (including superclasses) to outstream.
-
-
-
Constructor Detail
-
RequestWithThread
public RequestWithThread()
-
RequestWithThread
public RequestWithThread(Executing.Type type, java.lang.Object object, long request, long threadId)
-
-
Method Detail
-
create
public java.util.function.Supplier<? extends Executing.Request> create()
Description copied from interface:ConstructableCreates an instance of the class implementing this interface- Specified by:
createin interfaceConstructable<Executing.Request>- Overrides:
createin classExecuting.Request
-
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 classExecuting.Request- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
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 classExecuting.Request- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classExecuting.Request
-
-