Class COUNTER.GetOrCreateRequest
java.lang.Object
org.jgroups.protocols.COUNTER.SimpleRequest
org.jgroups.protocols.COUNTER.GetOrCreateRequest
- All Implemented Interfaces:
COUNTER.Request, Streamable
- Enclosing class:
COUNTER
- Since:
- 3.0.0
- Author:
- Bela Ban
-
Field Summary
FieldsFields inherited from class COUNTER.SimpleRequest
name, owner -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidRead the state of the current object (including superclasses) from instream Note that the input stream must not be closedvoidwriteTo(DataOutput out) Write the entire state of the current object (including superclasses) to outstream.Methods inherited from class COUNTER.SimpleRequest
getCounterName, toString
-
Field Details
-
initial_value
protected long initial_value
-
-
Constructor Details
-
GetOrCreateRequest
protected GetOrCreateRequest()
-
-
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
-
getRequestType
-
execute
-