Example usage for org.hibernate.cache.internal DefaultCacheKeysFactory getEntityId

List of usage examples for org.hibernate.cache.internal DefaultCacheKeysFactory getEntityId

Introduction

In this page you can find the example usage for org.hibernate.cache.internal DefaultCacheKeysFactory getEntityId.

Prototype

@Override
    public Object getEntityId(Object cacheKey) 

Source Link

Usage

From source file:com.mc.hibernate.memcached.strategy.NonStrictReadWriteMemcachedEntityRegionAccessStrategy.java

License:Apache License

@Override
public Object getCacheKeyId(Object cacheKey) {
    return DefaultCacheKeysFactory.getEntityId(cacheKey);
}