Package org.apache.zookeeper
Class MultiResponse
java.lang.Object
org.apache.zookeeper.MultiResponse
Handles the response from a multi request. Such a response consists of
a sequence of responses each prefixed by a MultiResponse that indicates
the type of the response. The end of the list is indicated by a MultiHeader
with a negative type. Each individual response is in the same format as
with the corresponding operation in the original request list.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deserialize
(InputArchive archive, String tag) boolean
int
hashCode()
iterator()
void
serialize
(OutputArchive archive, String tag) int
size()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
MultiResponse
public MultiResponse()
-
-
Method Details
-
add
-
iterator
-
size
public int size() -
serialize
- Specified by:
serialize
in interfaceRecord
- Throws:
IOException
-
deserialize
- Specified by:
deserialize
in interfaceRecord
- Throws:
IOException
-
getResultList
-
equals
-
hashCode
public int hashCode()
-