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
Streamable
readFrom
in interface Streamable
readFrom
in class COUNTER.SimpleRequest
java.lang.Exception
public void writeTo(java.io.DataOutput out) throws java.lang.Exception
Streamable
writeTo
in interface Streamable
writeTo
in class COUNTER.SimpleRequest
java.lang.Exception
public java.lang.String toString()
toString
in class COUNTER.SimpleRequest
Copyright © 1998-2020 Red Hat. All Rights Reserved.