com.googlecode.hibernate.memcached
Class HashCodeKeyStrategy

java.lang.Object
  extended by com.googlecode.hibernate.memcached.AbstractKeyStrategy
      extended by com.googlecode.hibernate.memcached.HashCodeKeyStrategy
All Implemented Interfaces:
KeyStrategy

Deprecated. as of 1.3 HashCodeKeyStrategy is deprecated and Sha1KeyStrategy is the default. Use that instead.

@Deprecated
public class HashCodeKeyStrategy
extends AbstractKeyStrategy

Transforms the key object using key.hashCode()

Author:
Ray Krueger

Field Summary
 
Fields inherited from class com.googlecode.hibernate.memcached.AbstractKeyStrategy
log, MAX_KEY_LENGTH
 
Constructor Summary
HashCodeKeyStrategy()
          Deprecated.  
 
Method Summary
protected  String transformKeyObject(Object key)
          Deprecated.  
 
Methods inherited from class com.googlecode.hibernate.memcached.AbstractKeyStrategy
concatenateKey, toKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashCodeKeyStrategy

public HashCodeKeyStrategy()
Deprecated. 
Method Detail

transformKeyObject

protected String transformKeyObject(Object key)
Deprecated. 
Specified by:
transformKeyObject in class AbstractKeyStrategy


Copyright © 2015. All rights reserved.