com.wepay.waltz.common.message.RemovePreferredPartitionRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of waltz-common Show documentation
Show all versions of waltz-common Show documentation
Waltz is a distributed/replicated write ahead log for transactions.
package com.wepay.waltz.common.message;
public class RemovePreferredPartitionRequest extends AbstractMessage {
public final int partitionId;
public RemovePreferredPartitionRequest(ReqId reqId, int partitionId) {
super(reqId);
this.partitionId = partitionId;
}
@Override
public byte type() {
return MessageType.REMOVE_PREFERRED_PARTITION_REQUEST;
}
}