org.jgroups.protocols
Class COUNTER.UpdateRequest

java.lang.Object
  extended by org.jgroups.protocols.COUNTER.Request
      extended by org.jgroups.protocols.COUNTER.UpdateRequest
All Implemented Interfaces:
Streamable
Enclosing class:
COUNTER

protected static class COUNTER.UpdateRequest
extends COUNTER.Request


Field Summary
protected  java.lang.String name
           
protected  long value
           
protected  long version
           
 
Constructor Summary
protected COUNTER.UpdateRequest()
           
protected COUNTER.UpdateRequest(java.lang.String name, long value, long version)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

value

protected long value

version

protected long version
Constructor Detail

COUNTER.UpdateRequest

protected COUNTER.UpdateRequest()

COUNTER.UpdateRequest

protected COUNTER.UpdateRequest(java.lang.String name,
                                long value,
                                long version)
Method Detail

writeTo

public void writeTo(java.io.DataOutput out)
             throws java.lang.Exception
Description copied from interface: Streamable
Write the entire state of the current object (including superclasses) to outstream. Note that the output stream must not be closed

Throws:
java.lang.Exception

readFrom

public void readFrom(java.io.DataInput in)
              throws java.lang.Exception
Description copied from interface: Streamable
Read the state of the current object (including superclasses) from instream Note that the input stream must not be closed

Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.