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 protectedAddAndGetRequest()protectedAddAndGetRequest(Owner owner, java.lang.String name, long value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(COUNTER protocol, Address sender)COUNTER.RequestTypegetRequestType()java.lang.StringtoString()-
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:
toStringin classCOUNTER.SetRequest
-
getRequestType
public COUNTER.RequestType getRequestType()
- Specified by:
getRequestTypein interfaceCOUNTER.Request- Overrides:
getRequestTypein classCOUNTER.SetRequest
-
execute
public void execute(COUNTER protocol, Address sender)
- Specified by:
executein interfaceCOUNTER.Request- Overrides:
executein classCOUNTER.SetRequest
-
-