Class MultiOperationRecord

java.lang.Object
org.apache.zookeeper.MultiOperationRecord
All Implemented Interfaces:
Iterable<Op>, Record

public class MultiOperationRecord extends Object implements Record, Iterable<Op>
Encodes a composite operation. In the wire format, each operation consists of a single MultiHeader followed by the appropriate request. Each of these MultiHeaders has a type which indicates the type of the following operation or a negative number if no more operations are included. All of the operations must be from the same OpKind.