test_class.file: imcache/src/test/java/com/cetsoft/imcache/cache/builder/RedisCacheBuilderTest.java
test_class.identifier: RedisCacheBuilderTest
test_case.body: @Test
    public void build() {
      Cache<Object, Object> cache = CacheBuilder.redisCache()
          .cacheLoader(BaseCacheBuilder.DEFAULT_CACHE_LOADER)
          .evictionListener(BaseCacheBuilder.DEFAULT_EVICTION_LISTENER)
          .serializer(BaseCacheBuilder.DEFAULT_SERIALIZER)
          .hostName("localhost").port(6379).concurrencyLevel(2).build();
      assertTrue(cache instanceof RedisCache);
    }
test_case.class_method_signature: RedisCacheBuilderTest.build()
test_case.full_signature: @Test public void build()
test_case.identifier: build
test_case.invocations: build concurrencyLevel port hostName serializer evictionListener cacheLoader redisCache assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void build()
focal_class.declarator: cacheNumber = new AtomicInteger()
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger cacheNumber = new AtomicInteger();
focal_class.type: AtomicInteger
focal_class.var_name: cacheNumber
focal_class.declarator: port = Connection.DEFAULT_PORT
focal_class.modifier: private
focal_class.original_string: private int port = Connection.DEFAULT_PORT;
focal_class.type: int
focal_class.var_name: port
focal_class.declarator: hostName = Connection.DEFAULT_HOST
focal_class.modifier: private
focal_class.original_string: private String hostName = Connection.DEFAULT_HOST;
focal_class.type: String
focal_class.var_name: hostName
focal_class.declarator: concurrencyLevel = MultiRedisClient.CONCURRENCY_LEVEL
focal_class.modifier: private
focal_class.original_string: private int concurrencyLevel = MultiRedisClient.CONCURRENCY_LEVEL;
focal_class.type: int
focal_class.var_name: concurrencyLevel
focal_class.file: imcache/src/main/java/com/cetsoft/imcache/cache/builder/RedisCacheBuilder.java
focal_class.identifier: RedisCacheBuilder
focal_class.class_method_signature: RedisCacheBuilder.RedisCacheBuilder()
focal_class.full_signature: public  RedisCacheBuilder()
focal_class.identifier: RedisCacheBuilder
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  RedisCacheBuilder()
focal_class.class_method_signature: RedisCacheBuilder.name(final String name)
focal_class.full_signature: public RedisCacheBuilder name(final String name)
focal_class.identifier: name
focal_class.modifiers: public
focal_class.parameters: (final String name)
focal_class.return: RedisCacheBuilder
focal_class.signature: RedisCacheBuilder name(final String name)
focal_class.class_method_signature: RedisCacheBuilder.cacheLoader(final CacheLoader<K, V> cacheLoader)
focal_class.full_signature: @SuppressWarnings("unchecked") public RedisCacheBuilder cacheLoader(final CacheLoader<K, V> cacheLoader)
focal_class.identifier: cacheLoader
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: (final CacheLoader<K, V> cacheLoader)
focal_class.return: RedisCacheBuilder
focal_class.signature: RedisCacheBuilder cacheLoader(final CacheLoader<K, V> cacheLoader)
focal_class.class_method_signature: RedisCacheBuilder.evictionListener(final EvictionListener<K, V> evictionListener)
focal_class.full_signature: @SuppressWarnings("unchecked") public RedisCacheBuilder evictionListener(final EvictionListener<K, V> evictionListener)
focal_class.identifier: evictionListener
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: (final EvictionListener<K, V> evictionListener)
focal_class.return: RedisCacheBuilder
focal_class.signature: RedisCacheBuilder evictionListener(final EvictionListener<K, V> evictionListener)
focal_class.class_method_signature: RedisCacheBuilder.serializer(final Serializer<Object> serializer)
focal_class.full_signature: public RedisCacheBuilder serializer(final Serializer<Object> serializer)
focal_class.identifier: serializer
focal_class.modifiers: public
focal_class.parameters: (final Serializer<Object> serializer)
focal_class.return: RedisCacheBuilder
focal_class.signature: RedisCacheBuilder serializer(final Serializer<Object> serializer)
focal_class.class_method_signature: RedisCacheBuilder.hostName(final String hostName)
focal_class.full_signature: public RedisCacheBuilder hostName(final String hostName)
focal_class.identifier: hostName
focal_class.modifiers: public
focal_class.parameters: (final String hostName)
focal_class.return: RedisCacheBuilder
focal_class.signature: RedisCacheBuilder hostName(final String hostName)
focal_class.class_method_signature: RedisCacheBuilder.port(final int port)
focal_class.full_signature: public RedisCacheBuilder port(final int port)
focal_class.identifier: port
focal_class.modifiers: public
focal_class.parameters: (final int port)
focal_class.return: RedisCacheBuilder
focal_class.signature: RedisCacheBuilder port(final int port)
focal_class.class_method_signature: RedisCacheBuilder.concurrencyLevel(int concurrencyLevel)
focal_class.full_signature: public RedisCacheBuilder concurrencyLevel(int concurrencyLevel)
focal_class.identifier: concurrencyLevel
focal_class.modifiers: public
focal_class.parameters: (int concurrencyLevel)
focal_class.return: RedisCacheBuilder
focal_class.signature: RedisCacheBuilder concurrencyLevel(int concurrencyLevel)
focal_class.class_method_signature: RedisCacheBuilder.build()
focal_class.full_signature: @SuppressWarnings("unchecked") public RedisCache<K, V> build()
focal_class.identifier: build
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: ()
focal_class.return: RedisCache<K, V>
focal_class.signature: RedisCache<K, V> build()
focal_class.class_method_signature: RedisCacheBuilder.build(final String cacheName)
focal_class.full_signature: @SuppressWarnings("unchecked") public RedisCache<K, V> build(final String cacheName)
focal_class.identifier: build
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: (final String cacheName)
focal_class.return: RedisCache<K, V>
focal_class.signature: RedisCache<K, V> build(final String cacheName)
focal_class.superclass: extends BaseCacheBuilder
focal_method.body: @SuppressWarnings("unchecked")
    public <K, V> RedisCache<K, V> build() {
      Client client = new MultiRedisClient(hostName, port, concurrencyLevel);
      return new RedisCache<>(name, (CacheLoader<K, V>) cacheLoader,
          (EvictionListener<K, V>) evictionListener, serializer, client);
    }
focal_method.class_method_signature: RedisCacheBuilder.build()
focal_method.full_signature: @SuppressWarnings("unchecked") public RedisCache<K, V> build()
focal_method.identifier: build
focal_method.modifiers: @SuppressWarnings("unchecked") public
focal_method.parameters: ()
focal_method.return: RedisCache<K, V>
focal_method.signature: RedisCache<K, V> build()