All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wepay.waltz.common.message.LockFailure Maven / Gradle / Ivy

There is a newer version: 0.13.2
Show newest version
package com.wepay.waltz.common.message;

import java.util.Comparator;

public class LockFailure extends AbstractMessage {

    public static final Comparator COMPARATOR = (a, b) -> Long.compare(a.transactionId, b.transactionId);

    public final long transactionId;

    public LockFailure(ReqId reqId, long transactionId) {
        super(reqId);
        this.transactionId = transactionId;
    }

    @Override
    public byte type() {
        return MessageType.LOCK_FAILURE;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy