Package org.jgroups.protocols
Class Executing.Request
- java.lang.Object
-
- org.jgroups.protocols.Executing.Request
-
- All Implemented Interfaces:
Constructable<Executing.Request>,Streamable
- Direct Known Subclasses:
Executing.RequestWithThread
- Enclosing class:
- Executing
protected static class Executing.Request extends java.lang.Object implements Streamable, Constructable<Executing.Request>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Objectobjectprotected longrequestprotected Executing.Typetype
-
Constructor Summary
Constructors Constructor Description Request()Request(Executing.Type type, java.lang.Object object, long request)
-
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.
-
-
-
Field Detail
-
type
protected Executing.Type type
-
object
protected java.lang.Object object
-
request
protected long request
-
-
Constructor Detail
-
Request
public Request()
-
Request
public Request(Executing.Type type, java.lang.Object object, long request)
-
-
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>
-
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.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- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-