package anastore.proto;

import anastore.net.AsyncMessage;

/**
 * A reply to a commit request that indicates that the commit
 * succeeded, and the write was assigned the specified timestamp.
 */
public class CommitRep extends AsyncMessage
{
    public final long timestamp;

    public CommitRep(long timestamp)
    {
        this.timestamp = timestamp;
    }

    @Override
    public String toString()
    {
        return "CommitRep<" + timestamp + ">";
    }
}
