org.infinispan.client.rest.RestCounterClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-client-rest-jakarta Show documentation
Show all versions of infinispan-client-rest-jakarta Show documentation
Infinispan REST Client Jakarta
package org.infinispan.client.rest;
import java.util.concurrent.CompletionStage;
/**
* @author Tristan Tarrant <[email protected]>
* @since 10.0
**/
public interface RestCounterClient {
CompletionStage create(RestEntity configuration);
CompletionStage delete();
CompletionStage configuration();
CompletionStage configuration(String mediaType);
CompletionStage get();
CompletionStage add(long delta);
CompletionStage increment();
CompletionStage decrement();
CompletionStage reset();
CompletionStage compareAndSet(long expect, long value);
CompletionStage compareAndSwap(long expect, long value);
}