io.narayana.lra.client.internal.proxy.LRAProxyParticipant Maven / Gradle / Ivy
/*
Copyright The Narayana Authors
SPDX-License-Identifier: Apache-2.0
*/
package io.narayana.lra.client.internal.proxy;
import jakarta.ws.rs.NotFoundException;
import java.io.Serializable;
import java.net.URI;
import java.util.concurrent.Future;
public interface LRAProxyParticipant extends Serializable {
Future completeWork(URI lraId) throws NotFoundException;
Future compensateWork(URI lraId) throws NotFoundException;
}