Package org.jgroups.protocols
Class COUNTER.AddAndGetRequest
- java.lang.Object
-
- org.jgroups.protocols.COUNTER.SimpleRequest
-
- org.jgroups.protocols.COUNTER.SetRequest
-
- org.jgroups.protocols.COUNTER.AddAndGetRequest
-
- All Implemented Interfaces:
COUNTER.Request
,Streamable
- Enclosing class:
- COUNTER
protected static class COUNTER.AddAndGetRequest extends COUNTER.SetRequest
-
-
Field Summary
-
Fields inherited from class org.jgroups.protocols.COUNTER.SetRequest
value
-
Fields inherited from class org.jgroups.protocols.COUNTER.SimpleRequest
name, owner
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AddAndGetRequest()
protected
AddAndGetRequest(Owner owner, java.lang.String name, long value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(COUNTER protocol, Address sender)
COUNTER.RequestType
getRequestType()
java.lang.String
toString()
-
Methods inherited from class org.jgroups.protocols.COUNTER.SetRequest
readFrom, writeTo
-
Methods inherited from class org.jgroups.protocols.COUNTER.SimpleRequest
getCounterName
-
-
-
-
Constructor Detail
-
AddAndGetRequest
protected AddAndGetRequest()
-
AddAndGetRequest
protected AddAndGetRequest(Owner owner, java.lang.String name, long value)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classCOUNTER.SetRequest
-
getRequestType
public COUNTER.RequestType getRequestType()
- Specified by:
getRequestType
in interfaceCOUNTER.Request
- Overrides:
getRequestType
in classCOUNTER.SetRequest
-
execute
public void execute(COUNTER protocol, Address sender)
- Specified by:
execute
in interfaceCOUNTER.Request
- Overrides:
execute
in classCOUNTER.SetRequest
-
-