public class LayoutPrepareResponse extends Object implements ICorfuPayload<LayoutPrepareResponse>
LayoutServer
response in phase1 of paxos
can be an accept or reject.
If a LayoutServer
accepts (the proposal rank is higher than
any seen by the server so far), it will send back a previously agreed Layout
.
LayoutServer
will reject any proposal with a rank
less than or equal to any already seen by the server.
Created by mdhawan on 10/24/16.
ICorfuPayload.PayloadConstructor<T>
constructorMap, lookup
Constructor and Description |
---|
LayoutPrepareResponse(io.netty.buffer.ByteBuf buf)
Constructor for layout server response in first phase of Paxos.
|
Modifier and Type | Method and Description |
---|---|
void |
doSerialize(io.netty.buffer.ByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enumMapFromBuffer, fromBuffer, fromBuffer, listFromBuffer, mapFromBuffer, rangeFromBuffer, rangeSetFromBuffer, serialize, setFromBuffer
public LayoutPrepareResponse(io.netty.buffer.ByteBuf buf)
public void doSerialize(io.netty.buffer.ByteBuf buf)
doSerialize
in interface ICorfuPayload<LayoutPrepareResponse>
Copyright © 2019 CorfuDB. All rights reserved.