test_class.declarator: name = "someCache"
test_class.modifier: protected final
test_class.original_string: protected final String name = "someCache";
test_class.type: String
test_class.var_name: name
test_class.declarator: aliases = ImmutableSet.of("alias1", "alias2")
test_class.modifier: protected final
test_class.original_string: protected final Collection<String> aliases = ImmutableSet.of("alias1", "alias2");
test_class.type: Collection<String>
test_class.var_name: aliases
test_class.declarator: defaultSerializationType = SerializationType.PROVIDER
test_class.modifier: protected final
test_class.original_string: protected final SerializationType defaultSerializationType = SerializationType.PROVIDER;
test_class.type: SerializationType
test_class.var_name: defaultSerializationType
test_class.declarator: jsonTranscoder
test_class.modifier: protected
test_class.original_string: protected JsonTranscoder jsonTranscoder;
test_class.type: JsonTranscoder
test_class.var_name: jsonTranscoder
test_class.declarator: javaTranscoder
test_class.modifier: protected
test_class.original_string: protected JavaTranscoder javaTranscoder;
test_class.type: JavaTranscoder
test_class.var_name: javaTranscoder
test_class.declarator: cacheClient
test_class.modifier: protected
test_class.original_string: protected CacheClient cacheClient;
test_class.type: CacheClient
test_class.var_name: cacheClient
test_class.declarator: cache
test_class.modifier: protected
test_class.original_string: protected Cache cache;
test_class.type: Cache
test_class.var_name: cache
test_class.file: simple-spring-memcached/src/test/java/com/google/code/ssm/CacheImplTest.java
test_class.identifier: CacheImplTest
test_case.body: @Test
      public void getCounter() throws TimeoutException, CacheException {
          String cacheKey = "key1";
  
          cache.getCounter(cacheKey);
          Mockito.verify(cacheClient).get(Mockito.eq(getKey(cacheKey)), any(LongToStringTranscoder.class));
      }
test_case.class_method_signature: CacheImplTest.getCounter()
test_case.full_signature: @Test public void getCounter()
test_case.identifier: getCounter
test_case.invocations: getCounter get verify eq getKey any
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getCounter()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(CacheImpl.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(CacheImpl.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: name
focal_class.modifier: @Getter
      private final
focal_class.original_string: @Getter
      private final String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: aliases
focal_class.modifier: @Getter
      private final
focal_class.original_string: @Getter
      private final Collection<String> aliases;
focal_class.type: Collection<String>
focal_class.var_name: aliases
focal_class.declarator: properties
focal_class.modifier: @Getter
      private final
focal_class.original_string: @Getter
      private final CacheProperties properties;
focal_class.type: CacheProperties
focal_class.var_name: properties
focal_class.declarator: defaultSerializationType
focal_class.modifier: private final
focal_class.original_string: private final SerializationType defaultSerializationType;
focal_class.type: SerializationType
focal_class.var_name: defaultSerializationType
focal_class.declarator: jsonTranscoder
focal_class.modifier: private final
focal_class.original_string: private final JsonTranscoder jsonTranscoder;
focal_class.type: JsonTranscoder
focal_class.var_name: jsonTranscoder
focal_class.declarator: javaTranscoder
focal_class.modifier: private final
focal_class.original_string: private final JavaTranscoder javaTranscoder;
focal_class.type: JavaTranscoder
focal_class.var_name: javaTranscoder
focal_class.declarator: longToStringTranscoder = new LongToStringTranscoder()
focal_class.modifier: private final
focal_class.original_string: private final LongToStringTranscoder longToStringTranscoder = new LongToStringTranscoder();
focal_class.type: LongToStringTranscoder
focal_class.var_name: longToStringTranscoder
focal_class.declarator: customTranscoder
focal_class.modifier: private final
focal_class.original_string: private final CacheTranscoder customTranscoder;
focal_class.type: CacheTranscoder
focal_class.var_name: customTranscoder
focal_class.declarator: cacheClient
focal_class.modifier: private volatile
focal_class.original_string: private volatile CacheClient cacheClient;
focal_class.type: CacheClient
focal_class.var_name: cacheClient
focal_class.file: simple-spring-memcached/src/main/java/com/google/code/ssm/CacheImpl.java
focal_class.identifier: CacheImpl
focal_class.interfaces: implements Cache
focal_class.class_method_signature: CacheImpl.CacheImpl(final String name, final Collection<String> aliases, final CacheClient cacheClient,
              final SerializationType defaultSerializationType, final JsonTranscoder jsonTranscoder, final JavaTranscoder javaTranscoder,
              final CacheTranscoder customTranscoder, final CacheProperties properties)
focal_class.full_signature:   CacheImpl(final String name, final Collection<String> aliases, final CacheClient cacheClient,
              final SerializationType defaultSerializationType, final JsonTranscoder jsonTranscoder, final JavaTranscoder javaTranscoder,
              final CacheTranscoder customTranscoder, final CacheProperties properties)
focal_class.identifier: CacheImpl
focal_class.parameters: (final String name, final Collection<String> aliases, final CacheClient cacheClient,
              final SerializationType defaultSerializationType, final JsonTranscoder jsonTranscoder, final JavaTranscoder javaTranscoder,
              final CacheTranscoder customTranscoder, final CacheProperties properties)
focal_class.signature:  CacheImpl(final String name, final Collection<String> aliases, final CacheClient cacheClient,
              final SerializationType defaultSerializationType, final JsonTranscoder jsonTranscoder, final JavaTranscoder javaTranscoder,
              final CacheTranscoder customTranscoder, final CacheProperties properties)
focal_class.class_method_signature: CacheImpl.getAvailableServers()
focal_class.full_signature: @Override public Collection<SocketAddress> getAvailableServers()
focal_class.identifier: getAvailableServers
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Collection<SocketAddress>
focal_class.signature: Collection<SocketAddress> getAvailableServers()
focal_class.class_method_signature: CacheImpl.get(final String cacheKey, final SerializationType serializationType)
focal_class.full_signature: @Override public T get(final String cacheKey, final SerializationType serializationType)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (final String cacheKey, final SerializationType serializationType)
focal_class.return: T
focal_class.signature: T get(final String cacheKey, final SerializationType serializationType)
focal_class.class_method_signature: CacheImpl.set(final String cacheKey, final int expiration, final Object value, final SerializationType serializationType)
focal_class.full_signature: @Override @SuppressWarnings("unchecked") public void set(final String cacheKey, final int expiration, final Object value, final SerializationType serializationType)
focal_class.identifier: set
focal_class.modifiers: @Override @SuppressWarnings("unchecked") public
focal_class.parameters: (final String cacheKey, final int expiration, final Object value, final SerializationType serializationType)
focal_class.return: void
focal_class.signature: void set(final String cacheKey, final int expiration, final Object value, final SerializationType serializationType)
focal_class.class_method_signature: CacheImpl.setSilently(final String cacheKey, final int expiration, final Object value, final SerializationType serializationType)
focal_class.full_signature: @Override public void setSilently(final String cacheKey, final int expiration, final Object value, final SerializationType serializationType)
focal_class.identifier: setSilently
focal_class.modifiers: @Override public
focal_class.parameters: (final String cacheKey, final int expiration, final Object value, final SerializationType serializationType)
focal_class.return: void
focal_class.signature: void setSilently(final String cacheKey, final int expiration, final Object value, final SerializationType serializationType)
focal_class.class_method_signature: CacheImpl.add(final String cacheKey, final int expiration, final Object value, final SerializationType serializationType)
focal_class.full_signature: @Override public boolean add(final String cacheKey, final int expiration, final Object value, final SerializationType serializationType)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (final String cacheKey, final int expiration, final Object value, final SerializationType serializationType)
focal_class.return: boolean
focal_class.signature: boolean add(final String cacheKey, final int expiration, final Object value, final SerializationType serializationType)
focal_class.class_method_signature: CacheImpl.addSilently(final String cacheKey, final int expiration, final Object value, final SerializationType serializationType)
focal_class.full_signature: @Override public boolean addSilently(final String cacheKey, final int expiration, final Object value, final SerializationType serializationType)
focal_class.identifier: addSilently
focal_class.modifiers: @Override public
focal_class.parameters: (final String cacheKey, final int expiration, final Object value, final SerializationType serializationType)
focal_class.return: boolean
focal_class.signature: boolean addSilently(final String cacheKey, final int expiration, final Object value, final SerializationType serializationType)
focal_class.class_method_signature: CacheImpl.getBulk(final Collection<String> keys, final SerializationType serializationType)
focal_class.full_signature: @Override public Map<String, Object> getBulk(final Collection<String> keys, final SerializationType serializationType)
focal_class.identifier: getBulk
focal_class.modifiers: @Override public
focal_class.parameters: (final Collection<String> keys, final SerializationType serializationType)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getBulk(final Collection<String> keys, final SerializationType serializationType)
focal_class.class_method_signature: CacheImpl.decr(final String key, final int by)
focal_class.full_signature: @Override public long decr(final String key, final int by)
focal_class.identifier: decr
focal_class.modifiers: @Override public
focal_class.parameters: (final String key, final int by)
focal_class.return: long
focal_class.signature: long decr(final String key, final int by)
focal_class.class_method_signature: CacheImpl.delete(final String key)
focal_class.full_signature: @Override public boolean delete(final String key)
focal_class.identifier: delete
focal_class.modifiers: @Override public
focal_class.parameters: (final String key)
focal_class.return: boolean
focal_class.signature: boolean delete(final String key)
focal_class.class_method_signature: CacheImpl.delete(final Collection<String> keys)
focal_class.full_signature: @Override public void delete(final Collection<String> keys)
focal_class.identifier: delete
focal_class.modifiers: @Override public
focal_class.parameters: (final Collection<String> keys)
focal_class.return: void
focal_class.signature: void delete(final Collection<String> keys)
focal_class.class_method_signature: CacheImpl.flush()
focal_class.full_signature: @Override public void flush()
focal_class.identifier: flush
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void flush()
focal_class.class_method_signature: CacheImpl.incr(final String key, final int by, final long def)
focal_class.full_signature: @Override public long incr(final String key, final int by, final long def)
focal_class.identifier: incr
focal_class.modifiers: @Override public
focal_class.parameters: (final String key, final int by, final long def)
focal_class.return: long
focal_class.signature: long incr(final String key, final int by, final long def)
focal_class.class_method_signature: CacheImpl.incr(final String key, final int by, final long def, final int exp)
focal_class.full_signature: @Override public long incr(final String key, final int by, final long def, final int exp)
focal_class.identifier: incr
focal_class.modifiers: @Override public
focal_class.parameters: (final String key, final int by, final long def, final int exp)
focal_class.return: long
focal_class.signature: long incr(final String key, final int by, final long def, final int exp)
focal_class.class_method_signature: CacheImpl.isEnabled()
focal_class.full_signature: @Override public boolean isEnabled()
focal_class.identifier: isEnabled
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEnabled()
focal_class.class_method_signature: CacheImpl.getCounter(final String cacheKey)
focal_class.full_signature: @Override public Long getCounter(final String cacheKey)
focal_class.identifier: getCounter
focal_class.modifiers: @Override public
focal_class.parameters: (final String cacheKey)
focal_class.return: Long
focal_class.signature: Long getCounter(final String cacheKey)
focal_class.class_method_signature: CacheImpl.setCounter(final String cacheKey, final int expiration, final long value)
focal_class.full_signature: @Override public void setCounter(final String cacheKey, final int expiration, final long value)
focal_class.identifier: setCounter
focal_class.modifiers: @Override public
focal_class.parameters: (final String cacheKey, final int expiration, final long value)
focal_class.return: void
focal_class.signature: void setCounter(final String cacheKey, final int expiration, final long value)
focal_class.class_method_signature: CacheImpl.shutdown()
focal_class.full_signature: @Override public void shutdown()
focal_class.identifier: shutdown
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void shutdown()
focal_class.class_method_signature: CacheImpl.getNativeClient()
focal_class.full_signature: @Override public Object getNativeClient()
focal_class.identifier: getNativeClient
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Object
focal_class.signature: Object getNativeClient()
focal_class.class_method_signature: CacheImpl.changeCacheClient(final CacheClient newCacheClient)
focal_class.full_signature:  void changeCacheClient(final CacheClient newCacheClient)
focal_class.identifier: changeCacheClient
focal_class.parameters: (final CacheClient newCacheClient)
focal_class.return: void
focal_class.signature: void changeCacheClient(final CacheClient newCacheClient)
focal_class.class_method_signature: CacheImpl.get(final String cacheKey, final SerializationType serializationType, final CacheTranscoder cacheTranscoder)
focal_class.full_signature: @SuppressWarnings("unchecked") private T get(final String cacheKey, final SerializationType serializationType, final CacheTranscoder cacheTranscoder)
focal_class.identifier: get
focal_class.modifiers: @SuppressWarnings("unchecked") private
focal_class.parameters: (final String cacheKey, final SerializationType serializationType, final CacheTranscoder cacheTranscoder)
focal_class.return: T
focal_class.signature: T get(final String cacheKey, final SerializationType serializationType, final CacheTranscoder cacheTranscoder)
focal_class.class_method_signature: CacheImpl.set(final String cacheKey, final int expiration, final T value, final SerializationType serializationType,
              final CacheTranscoder cacheTranscoder)
focal_class.full_signature: private void set(final String cacheKey, final int expiration, final T value, final SerializationType serializationType,
              final CacheTranscoder cacheTranscoder)
focal_class.identifier: set
focal_class.modifiers: private
focal_class.parameters: (final String cacheKey, final int expiration, final T value, final SerializationType serializationType,
              final CacheTranscoder cacheTranscoder)
focal_class.return: void
focal_class.signature: void set(final String cacheKey, final int expiration, final T value, final SerializationType serializationType,
              final CacheTranscoder cacheTranscoder)
focal_class.class_method_signature: CacheImpl.add(final String cacheKey, final int expiration, final Object value, final SerializationType serializationType,
              final CacheTranscoder cacheTranscoder)
focal_class.full_signature: private boolean add(final String cacheKey, final int expiration, final Object value, final SerializationType serializationType,
              final CacheTranscoder cacheTranscoder)
focal_class.identifier: add
focal_class.modifiers: private
focal_class.parameters: (final String cacheKey, final int expiration, final Object value, final SerializationType serializationType,
              final CacheTranscoder cacheTranscoder)
focal_class.return: boolean
focal_class.signature: boolean add(final String cacheKey, final int expiration, final Object value, final SerializationType serializationType,
              final CacheTranscoder cacheTranscoder)
focal_class.class_method_signature: CacheImpl.getBulk(final Collection<String> keys, final SerializationType serializationType,
              final CacheTranscoder cacheTranscoder)
focal_class.full_signature: private Map<String, Object> getBulk(final Collection<String> keys, final SerializationType serializationType,
              final CacheTranscoder cacheTranscoder)
focal_class.identifier: getBulk
focal_class.modifiers: private
focal_class.parameters: (final Collection<String> keys, final SerializationType serializationType,
              final CacheTranscoder cacheTranscoder)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getBulk(final Collection<String> keys, final SerializationType serializationType,
              final CacheTranscoder cacheTranscoder)
focal_class.class_method_signature: CacheImpl.getSerializationType(final SerializationType serializationType)
focal_class.full_signature: private SerializationType getSerializationType(final SerializationType serializationType)
focal_class.identifier: getSerializationType
focal_class.modifiers: private
focal_class.parameters: (final SerializationType serializationType)
focal_class.return: SerializationType
focal_class.signature: SerializationType getSerializationType(final SerializationType serializationType)
focal_class.class_method_signature: CacheImpl.warn(final Exception e, final String format, final Object... args)
focal_class.full_signature: private void warn(final Exception e, final String format, final Object... args)
focal_class.identifier: warn
focal_class.modifiers: private
focal_class.parameters: (final Exception e, final String format, final Object... args)
focal_class.return: void
focal_class.signature: void warn(final Exception e, final String format, final Object... args)
focal_class.class_method_signature: CacheImpl.validateTranscoder(final SerializationType serializationType, final CacheTranscoder cacheTranscoder,
              final String transcoderName)
focal_class.full_signature: private void validateTranscoder(final SerializationType serializationType, final CacheTranscoder cacheTranscoder,
              final String transcoderName)
focal_class.identifier: validateTranscoder
focal_class.modifiers: private
focal_class.parameters: (final SerializationType serializationType, final CacheTranscoder cacheTranscoder,
              final String transcoderName)
focal_class.return: void
focal_class.signature: void validateTranscoder(final SerializationType serializationType, final CacheTranscoder cacheTranscoder,
              final String transcoderName)
focal_method.body: @Override
      public Long getCounter(final String cacheKey) throws TimeoutException, CacheException {
          return cacheClient.get(cacheKey, longToStringTranscoder);
      }
focal_method.class_method_signature: CacheImpl.getCounter(final String cacheKey)
focal_method.full_signature: @Override public Long getCounter(final String cacheKey)
focal_method.identifier: getCounter
focal_method.invocations: get
focal_method.modifiers: @Override public
focal_method.parameters: (final String cacheKey)
focal_method.return: Long
focal_method.signature: Long getCounter(final String cacheKey)