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

org.infinispan.client.rest.RestCounterClient Maven / Gradle / Ivy

There is a newer version: 14.0.33.Final
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy