Package org.jgroups.protocols
Class COUNTER.SetRequest
java.lang.Object
org.jgroups.protocols.COUNTER.SimpleRequest
org.jgroups.protocols.COUNTER.SetRequest
- All Implemented Interfaces:
COUNTER.Request,Streamable
- Direct Known Subclasses:
COUNTER.AddAndGetRequest
- Enclosing class:
COUNTER
-
Field Summary
FieldsFields inherited from class org.jgroups.protocols.COUNTER.SimpleRequest
name, owner -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedSetRequest(Owner owner, String name, long value) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidRead 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 org.jgroups.protocols.COUNTER.SimpleRequest
getCounterName
-
Field Details
-
value
protected long value
-
-
Constructor Details
-
SetRequest
protected SetRequest() -
SetRequest
-
-
Method Details
-
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- Overrides:
readFromin classCOUNTER.SimpleRequest- Throws:
IOExceptionClassNotFoundException
-
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- Overrides:
writeToin classCOUNTER.SimpleRequest- Throws:
IOException
-
toString
- Overrides:
toStringin classCOUNTER.SimpleRequest
-
getRequestType
-
execute
-