protected static class COUNTER.CompareAndSetRequest extends COUNTER.SimpleRequest
| Modifier and Type | Field and Description |
|---|---|
protected long |
expected |
protected long |
update |
name, owner| Modifier | Constructor and Description |
|---|---|
protected |
CompareAndSetRequest() |
protected |
CompareAndSetRequest(Owner owner,
java.lang.String name,
long expected,
long update) |
| Modifier and Type | Method and Description |
|---|---|
void |
readFrom(java.io.DataInput in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
java.lang.String |
toString() |
void |
writeTo(java.io.DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
protected CompareAndSetRequest()
protected CompareAndSetRequest(Owner owner, java.lang.String name, long expected, long update)
public void readFrom(java.io.DataInput in)
throws java.lang.Exception
StreamablereadFrom in interface StreamablereadFrom in class COUNTER.SimpleRequestjava.lang.Exceptionpublic void writeTo(java.io.DataOutput out)
throws java.lang.Exception
StreamablewriteTo in interface StreamablewriteTo in class COUNTER.SimpleRequestjava.lang.Exceptionpublic java.lang.String toString()
toString in class COUNTER.SimpleRequestCopyright © 1998-2020 Red Hat. All Rights Reserved.