org.hibernate.envers.reader
Class FirstLevelCache
java.lang.Object
org.hibernate.envers.reader.FirstLevelCache
public class FirstLevelCache
- extends Object
First level cache for versioned entities, versions reader-scoped. Each entity is uniquely identified by a
revision number and entity id.
- Author:
- Adam Warski (adam at warski dot org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FirstLevelCache
public FirstLevelCache()
get
public Object get(String entityName,
Number revision,
Object id)
put
public void put(String entityName,
Number revision,
Object id,
Object entity)
contains
public boolean contains(String entityName,
Number revision,
Object id)
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.