org.hibernate.stat.SessionStatistics Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of beangle-hibernate-core Show documentation
Show all versions of beangle-hibernate-core Show documentation
Hibernate Orm Core Shade,Support Scala Collection
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.stat;
import java.util.Set;
/**
* Information about the first-level (session) cache for a particular
* instance of {@link org.hibernate.Session}.
*
* @author Gavin King
*/
public interface SessionStatistics {
/**
* The number of entity instances associated with the session.
*/
int getEntityCount();
/**
* The number of collection instances associated with the session.
*/
int getCollectionCount();
/**
* The set of all {@link org.hibernate.engine.spi.EntityKey}s
* currently held within the persistence context.
*/
Set> getEntityKeys();
/**
* The set of all {@link org.hibernate.engine.spi.CollectionKey}s
* currently held within the persistence context.
*/
Set> getCollectionKeys();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy