// Path: bucket4j-spring-boot-starter/src/main/java/com/giffing/bucket4j/spring/boot/starter/config/cache/AsyncCacheResolver.java
// public interface AsyncCacheResolver extends CacheResolver {
// 
// }


import org.infinispan.manager.CacheContainer;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.giffing.bucket4j.spring.boot.starter.config.cache.AsyncCacheResolver;

package com.giffing.bucket4j.spring.boot.starter.config.cache.infinispan;



@Configuration
@ConditionalOnClass({ CacheContainer.class })
@ConditionalOnBean(CacheContainer.class)
public class InfinispanBucket4jCacheConfiguration {
	
	private CacheContainer cacheContainer;
		
	public InfinispanBucket4jCacheConfiguration(CacheContainer cacheContainer) {
		this.cacheContainer = cacheContainer;
	}
	
	@Bean

// Path: bucket4j-spring-boot-starter/src/main/java/com/giffing/bucket4j/spring/boot/starter/config/cache/AsyncCacheResolver.java
// public interface AsyncCacheResolver extends CacheResolver {
// 
// }


// Path: bucket4j-spring-boot-starter/src/main/java/com/giffing/bucket4j/spring/boot/starter/config/cache/infinispan/InfinispanBucket4jCacheConfiguration.java
import org.infinispan.manager.CacheContainer;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.giffing.bucket4j.spring.boot.starter.config.cache.AsyncCacheResolver;

package com.giffing.bucket4j.spring.boot.starter.config.cache.infinispan;



@Configuration
@ConditionalOnClass({ CacheContainer.class })
@ConditionalOnBean(CacheContainer.class)
public class InfinispanBucket4jCacheConfiguration {
	
	private CacheContainer cacheContainer;
		
	public InfinispanBucket4jCacheConfiguration(CacheContainer cacheContainer) {
		this.cacheContainer = cacheContainer;
	}
	
	@Bean

	public AsyncCacheResolver infinispanCacheResolver() {
