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.Object
object
protected long
request
protected Executing.Type
type
-
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 interfacevoid
readFrom(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.String
toString()
void
writeTo(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:Constructable
Creates an instance of the class implementing this interface- Specified by:
create
in interfaceConstructable<Executing.Request>
-
writeTo
public void writeTo(java.io.DataOutput out) throws java.io.IOException
Description copied from interface:Streamable
Write the entire state of the current object (including superclasses) to outstream. Note that the output stream must not be closed- Specified by:
writeTo
in interfaceStreamable
- Throws:
java.io.IOException
-
readFrom
public void readFrom(java.io.DataInput in) throws java.io.IOException, java.lang.ClassNotFoundException
Description copied from interface:Streamable
Read the state of the current object (including superclasses) from instream Note that the input stream must not be closed- Specified by:
readFrom
in interfaceStreamable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-