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

org.infinispan.hotrod.HotRodMutinyStreamingCache Maven / Gradle / Ivy

The newest version!
package org.infinispan.hotrod;

import org.infinispan.api.common.CacheOptions;
import org.infinispan.api.common.CacheWriteOptions;
import org.infinispan.api.mutiny.MutinyStreamingCache;
import org.infinispan.hotrod.impl.cache.RemoteCache;

import io.smallrye.mutiny.subscription.BackPressureStrategy;

/**
 * @since 14.0
 **/
public class HotRodMutinyStreamingCache implements MutinyStreamingCache {
   private final HotRod hotrod;
   private final RemoteCache remoteCache;

   HotRodMutinyStreamingCache(HotRod hotrod, RemoteCache remoteCache) {
      this.hotrod = hotrod;
      this.remoteCache = remoteCache;
   }

   @Override
   public CacheEntrySubscriber get(K key, BackPressureStrategy backPressureStrategy, CacheOptions options) {
      throw new UnsupportedOperationException();
   }

   @Override
   public CacheEntryPublisher put(K key, CacheWriteOptions options, BackPressureStrategy backPressureStrategy) {
      throw new UnsupportedOperationException();
   }

   @Override
   public CacheEntryPublisher putIfAbsent(K key, CacheWriteOptions options, BackPressureStrategy backPressureStrategy) {
      throw new UnsupportedOperationException();
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy