Java 类org.hibernate.cache.internal.DefaultCacheKeysFactory 实例源码

项目:ignite    文件:HibernateNaturalIdRegion.java   
/** {@inheritDoc} */
@Override public Object generateCacheKey(Object[] naturalIdValues, EntityPersister persister, SessionImplementor ses) {
    return DefaultCacheKeysFactory.staticCreateNaturalIdKey(naturalIdValues, persister, ses);
}
项目:ignite    文件:HibernateNaturalIdRegion.java   
/** {@inheritDoc} */
@Override public Object[] getNaturalIdValues(Object cacheKey) {
    return DefaultCacheKeysFactory.staticGetNaturalIdValues(cacheKey);
}
项目:high-performance-java-persistence    文件:ReadWriteCacheConcurrencyStrategyWithLockTimeoutTest.java   
private Object cacheKey(Serializable identifier, EntityPersister p) {
    return DefaultCacheKeysFactory.INSTANCE.createEntityKey(
            identifier, p, (SessionFactoryImplementor) sessionFactory(), null
    );
}
项目:hibernate-l2-memcached    文件:ReadOnlyMemcachedEntityRegionAccessStrategy.java   
@Override
public Object generateCacheKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) {
    return DefaultCacheKeysFactory.INSTANCE.createEntityKey(id, persister, factory, tenantIdentifier);
}
项目:hibernate-l2-memcached    文件:ReadOnlyMemcachedEntityRegionAccessStrategy.java   
@Override
public Object getCacheKeyId(Object cacheKey) {
    return DefaultCacheKeysFactory.INSTANCE.getEntityId(cacheKey);
}
项目:hibernate-l2-memcached    文件:TransactionalMemcachedEntityRegionAccessStrategy.java   
@Override
public Object generateCacheKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) {
    return DefaultCacheKeysFactory.INSTANCE.createEntityKey(id, persister, factory, tenantIdentifier);
}
项目:hibernate-l2-memcached    文件:TransactionalMemcachedEntityRegionAccessStrategy.java   
@Override
public Object getCacheKeyId(Object cacheKey) {
    return DefaultCacheKeysFactory.INSTANCE.getEntityId(cacheKey);
}
项目:hibernate-l2-memcached    文件:TransactionalMemcachedNaturalIdRegionAccessStrategy.java   
@Override
public Object generateCacheKey(Object[] naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) {
    return DefaultCacheKeysFactory.INSTANCE.createNaturalIdKey(naturalIdValues, persister, session);
}
项目:hibernate-l2-memcached    文件:TransactionalMemcachedNaturalIdRegionAccessStrategy.java   
@Override
public Object[] getNaturalIdValues(Object cacheKey) {
    return DefaultCacheKeysFactory.INSTANCE.getNaturalIdValues(cacheKey);
}
项目:hibernate-l2-memcached    文件:NonStrictReadWriteMemcachedNaturalIdRegionAccessStrategy.java   
@Override
public Object generateCacheKey(Object[] naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) {
    return DefaultCacheKeysFactory.INSTANCE.createNaturalIdKey(naturalIdValues, persister, session);
}
项目:hibernate-l2-memcached    文件:NonStrictReadWriteMemcachedNaturalIdRegionAccessStrategy.java   
@Override
public Object[] getNaturalIdValues(Object cacheKey) {
    return DefaultCacheKeysFactory.INSTANCE.getNaturalIdValues(cacheKey);
}
项目:hibernate-l2-memcached    文件:ReadOnlyMemcachedCollectionRegionAccessStrategy.java   
@Override
public Object generateCacheKey(Object id, CollectionPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) {
    return DefaultCacheKeysFactory.INSTANCE.createCollectionKey(id, persister, factory, tenantIdentifier);
}
项目:hibernate-l2-memcached    文件:ReadOnlyMemcachedCollectionRegionAccessStrategy.java   
@Override
public Object getCacheKeyId(Object cacheKey) {
    return DefaultCacheKeysFactory.INSTANCE.getCollectionId(cacheKey);
}
项目:hibernate-l2-memcached    文件:ReadWriteMemcachedEntityRegionAccessStrategy.java   
@Override
public Object generateCacheKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) {
    return DefaultCacheKeysFactory.INSTANCE.createEntityKey(id, persister, factory, tenantIdentifier);
}
项目:hibernate-l2-memcached    文件:ReadWriteMemcachedEntityRegionAccessStrategy.java   
@Override
public Object getCacheKeyId(Object cacheKey) {
    return DefaultCacheKeysFactory.INSTANCE.getEntityId(cacheKey);
}
项目:hibernate-l2-memcached    文件:ReadOnlyMemcachedNaturalIdRegionAccessStrategy.java   
@Override
public Object generateCacheKey(Object[] naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) {
    return DefaultCacheKeysFactory.INSTANCE.createNaturalIdKey(naturalIdValues, persister, session);
}
项目:hibernate-l2-memcached    文件:ReadOnlyMemcachedNaturalIdRegionAccessStrategy.java   
@Override
public Object[] getNaturalIdValues(Object cacheKey) {
    return DefaultCacheKeysFactory.INSTANCE.getNaturalIdValues(cacheKey);
}
项目:hibernate-l2-memcached    文件:TransactionalMemcachedCollectionRegionAccessStrategy.java   
@Override
public Object generateCacheKey(Object id, CollectionPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) {
    return DefaultCacheKeysFactory.INSTANCE.createCollectionKey(id, persister, factory, tenantIdentifier);
}
项目:hibernate-l2-memcached    文件:TransactionalMemcachedCollectionRegionAccessStrategy.java   
@Override
public Object getCacheKeyId(Object cacheKey) {
    return DefaultCacheKeysFactory.INSTANCE.getCollectionId(cacheKey);
}
项目:hibernate-l2-memcached    文件:ReadWriteMemcachedCollectionRegionAccessStrategy.java   
@Override
public Object generateCacheKey(Object id, CollectionPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) {
    return DefaultCacheKeysFactory.INSTANCE.createCollectionKey(id, persister, factory, tenantIdentifier);
}
项目:hibernate-l2-memcached    文件:ReadWriteMemcachedCollectionRegionAccessStrategy.java   
@Override
public Object getCacheKeyId(Object cacheKey) {
    return DefaultCacheKeysFactory.INSTANCE.getCollectionId(cacheKey);
}
项目:hibernate-l2-memcached    文件:NonStrictReadWriteMemcachedCollectionRegionAccessStrategy.java   
@Override
public Object generateCacheKey(Object id, CollectionPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) {
    return DefaultCacheKeysFactory.INSTANCE.createCollectionKey(id, persister, factory, tenantIdentifier);
}
项目:hibernate-l2-memcached    文件:NonStrictReadWriteMemcachedCollectionRegionAccessStrategy.java   
@Override
public Object getCacheKeyId(Object cacheKey) {
    return DefaultCacheKeysFactory.INSTANCE.getCollectionId(cacheKey);
}
项目:hibernate-l2-memcached    文件:NonStrictReadWriteMemcachedEntityRegionAccessStrategy.java   
@Override
public Object generateCacheKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) {
    return DefaultCacheKeysFactory.INSTANCE.createEntityKey(id, persister, factory, tenantIdentifier);
}
项目:hibernate-l2-memcached    文件:NonStrictReadWriteMemcachedEntityRegionAccessStrategy.java   
@Override
public Object getCacheKeyId(Object cacheKey) {
    return DefaultCacheKeysFactory.INSTANCE.getEntityId(cacheKey);
}
项目:hibernate-l2-memcached    文件:ReadWriteMemcachedNaturalIdRegionAccessStrategy.java   
@Override
public Object generateCacheKey(Object[] naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) {
    return DefaultCacheKeysFactory.INSTANCE.createNaturalIdKey(naturalIdValues, persister, session);
}
项目:hibernate-l2-memcached    文件:ReadWriteMemcachedNaturalIdRegionAccessStrategy.java   
@Override
public Object[] getNaturalIdValues(Object cacheKey) {
    return DefaultCacheKeysFactory.INSTANCE.getNaturalIdValues(cacheKey);
}