Package org.jgroups.protocols
Class COUNTER.SimpleRequest
java.lang.Object
org.jgroups.protocols.COUNTER.SimpleRequest
- All Implemented Interfaces:
COUNTER.Request,Streamable
- Direct Known Subclasses:
COUNTER.CompareAndSetRequest,COUNTER.DeleteRequest,COUNTER.GetOrCreateRequest,COUNTER.SetRequest,COUNTER.UpdateFunctionRequest
- Enclosing class:
COUNTER
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRead the state of the current object (including superclasses) from instream Note that the input stream must not be closedtoString()voidwriteTo(DataOutput out) Write the entire state of the current object (including superclasses) to outstream.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jgroups.protocols.COUNTER.Request
execute, getRequestType
-
Field Details
-
owner
-
name
-
-
Constructor Details
-
SimpleRequest
protected SimpleRequest() -
SimpleRequest
-
-
Method Details
-
writeTo
Description 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:
IOException
-
readFrom
Description 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:
IOExceptionClassNotFoundException
-
toString
-
getCounterName
- Specified by:
getCounterNamein interfaceCOUNTER.Request
-