org.infinispan.hotrod.HotRodAsyncMultiMaps Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-hotrod-jakarta Show documentation
Show all versions of infinispan-hotrod-jakarta Show documentation
Infinispan Hot Rod Client Jakarta EE
package org.infinispan.hotrod;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionStage;
import java.util.concurrent.Flow;
import org.infinispan.api.async.AsyncMultiMap;
import org.infinispan.api.async.AsyncMultiMaps;
import org.infinispan.api.configuration.MultiMapConfiguration;
/**
* @since 14.0
**/
public class HotRodAsyncMultiMaps implements AsyncMultiMaps {
private final HotRod hotrod;
HotRodAsyncMultiMaps(HotRod hotrod) {
this.hotrod = hotrod;
}
@Override
public CompletionStage> create(String name, MultiMapConfiguration cacheConfiguration) {
return CompletableFuture.completedFuture(new HotRodAsyncMultiMap<>(hotrod, name)); // PLACEHOLDER
}
@Override
public CompletionStage> create(String name, String template) {
return CompletableFuture.completedFuture(new HotRodAsyncMultiMap<>(hotrod, name)); // PLACEHOLDER
}
@Override
public CompletionStage> get(String name) {
return CompletableFuture.completedFuture(new HotRodAsyncMultiMap<>(hotrod, name)); // PLACEHOLDER
}
@Override
public CompletionStage remove(String name) {
return null;
}
@Override
public Flow.Publisher names() {
return null;
}
@Override
public CompletionStage createTemplate(String name, MultiMapConfiguration cacheConfiguration) {
return null;
}
@Override
public CompletionStage removeTemplate(String name) {
return null;
}
@Override
public Flow.Publisher templateNames() {
return null;
}
}