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 TypeMethodDescriptionvoidvoiddeserialize(InputArchive archive, String tag) booleaninthashCode()iterator()voidserialize(OutputArchive archive, String tag) intsize()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
MultiResponse
public MultiResponse()
-
-
Method Details
-
add
-
iterator
-
size
public int size() -
serialize
- Specified by:
serializein interfaceRecord- Throws:
IOException
-
deserialize
- Specified by:
deserializein interfaceRecord- Throws:
IOException
-
getResultList
-
equals
-
hashCode
public int hashCode()
-