Package org.jgroups.protocols
Class COUNTER.ValueResponse
- All Implemented Interfaces:
Streamable
- Enclosing class:
COUNTER
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected(package private)ValueResponse(Owner owner, long[] versionedValue) protectedValueResponse(Owner owner, long result, long version) -
Method Summary
Modifier and TypeMethodDescription(package private) voidvoidRead 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.Response
getOwner
-
Field Details
-
result
protected long result -
version
protected long version
-
-
Constructor Details
-
ValueResponse
protected ValueResponse() -
ValueResponse
ValueResponse(Owner owner, long[] versionedValue) -
ValueResponse
-
-
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.Response<Long>- 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.Response<Long>- Throws:
IOException
-
toString
-
getResponseType
- Specified by:
getResponseTypein classCOUNTER.Response<Long>
-
complete
- Specified by:
completein classCOUNTER.Response<Long>
-