org.hibernate.stat.EntityStatistics 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.io.Serializable;
/**
* Entity related statistics
*
* @author Gavin King
* @author Steve Ebersole
*/
public interface EntityStatistics extends CacheableDataStatistics, Serializable {
/**
* Number of times (since last Statistics clearing) this entity
* has been deleted
*/
long getDeleteCount();
/**
* Number of times (since last Statistics clearing) this entity
* has been inserted
*/
long getInsertCount();
/**
* Number of times (since last Statistics clearing) this entity
* has been updated
*/
long getUpdateCount();
/**
* Number of times (since last Statistics clearing) this entity
* has been loaded
*/
long getLoadCount();
/**
* Number of times (since last Statistics clearing) this entity
* has been fetched
*/
long getFetchCount();
/**
* Number of times (since last Statistics clearing) this entity
* has experienced an optimistic lock failure.
*/
long getOptimisticFailureCount();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy