Class HotRodAsyncCaches

  • All Implemented Interfaces:
    org.infinispan.api.async.AsyncCaches

    public class HotRodAsyncCaches
    extends Object
    implements org.infinispan.api.async.AsyncCaches
    Since:
    14.0
    • Method Detail

      • create

        public <K,​V> CompletionStage<org.infinispan.api.async.AsyncCache<K,​V>> create​(String name,
                                                                                                  org.infinispan.api.configuration.CacheConfiguration cacheConfiguration)
        Specified by:
        create in interface org.infinispan.api.async.AsyncCaches
      • create

        public <K,​V> CompletionStage<org.infinispan.api.async.AsyncCache<K,​V>> create​(String name,
                                                                                                  String template)
        Specified by:
        create in interface org.infinispan.api.async.AsyncCaches
      • get

        public <K,​V> CompletionStage<org.infinispan.api.async.AsyncCache<K,​V>> get​(String name)
        Specified by:
        get in interface org.infinispan.api.async.AsyncCaches
      • remove

        public CompletionStage<Void> remove​(String name)
        Specified by:
        remove in interface org.infinispan.api.async.AsyncCaches
      • names

        public CompletionStage<Set<String>> names()
        Specified by:
        names in interface org.infinispan.api.async.AsyncCaches
      • createTemplate

        public CompletionStage<Void> createTemplate​(String name,
                                                    org.infinispan.api.configuration.CacheConfiguration cacheConfiguration)
        Specified by:
        createTemplate in interface org.infinispan.api.async.AsyncCaches
      • removeTemplate

        public CompletionStage<Void> removeTemplate​(String name)
        Specified by:
        removeTemplate in interface org.infinispan.api.async.AsyncCaches
      • templateNames

        public CompletionStage<Set<String>> templateNames()
        Specified by:
        templateNames in interface org.infinispan.api.async.AsyncCaches