io.bitexpress.topia.commons.idempotence.IdempotenceParam Maven / Gradle / Ivy
package io.bitexpress.topia.commons.idempotence;
import java.util.function.Supplier;
import io.bitexpress.topia.commons.data.model.IdObject;
public class IdempotenceParam> {
private Supplier requestIdentitySupplier;
private REQ request;
public IdempotenceParam(Supplier requestIdentitySupplier, REQ request) {
this.requestIdentitySupplier = requestIdentitySupplier;
this.request = request;
}
public Supplier getRequestIdentitySupplier() {
return requestIdentitySupplier;
}
public REQ getRequest() {
return request;
}
}