org.hibernate.event.jfr.internal.DirtyCalculationEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-jfr Show documentation
Show all versions of hibernate-jfr Show documentation
Integration for JDK JFR into Hibernate O/RM
/*
* 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.event.jfr.internal;
import org.hibernate.event.spi.HibernateMonitoringEvent;
import org.hibernate.internal.build.AllowNonPortable;
import jdk.jfr.Category;
import jdk.jfr.Description;
import jdk.jfr.Event;
import jdk.jfr.Label;
import jdk.jfr.Name;
import jdk.jfr.StackTrace;
@Name(DirtyCalculationEvent.NAME)
@Label("DirtyCalculationEvent Execution")
@Category("Hibernate ORM")
@Description("DirtyCalculationEvent Execution")
@StackTrace(false)
@AllowNonPortable
public class DirtyCalculationEvent extends Event implements HibernateMonitoringEvent {
public static final String NAME = "org.hibernate.orm.DirtyCalculationEvent";
@Label("Session Identifier")
public String sessionIdentifier;
@Label("Entity Name")
public String entityName;
@Label("Entity Status")
public String entityStatus;
@Label("Found properties")
public boolean dirty;
@Override
public String toString() {
return NAME;
}
}