public class SessionCacheCleaner extends Object
Constructor and Description |
---|
SessionCacheCleaner() |
Modifier and Type | Method and Description |
---|---|
void |
scheduleAuditDataRemoval(Session session,
Object data)
Schedules audit data removal from session level cache after transaction completion.
|
public void scheduleAuditDataRemoval(Session session, Object data)
session
- Active Hibernate session.data
- Audit data that shall be evicted (e.g. revision data or entity snapshot)Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.