All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.event.jfr.internal.FlushEvent Maven / Gradle / Ivy

There is a newer version: 7.0.0.Beta2
Show newest version
/*
 * 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(FlushEvent.NAME)
@Label("Flush Execution")
@Category("Hibernate ORM")
@Description("Flush Execution")
@StackTrace(false)
@AllowNonPortable
public class FlushEvent extends Event implements HibernateMonitoringEvent {
	public static final String NAME = "org.hibernate.orm.FlushEvent";

	@Label("Session Identifier")
	public String sessionIdentifier;

	@Label("Number Of Processed Entities")
	public int numberOfEntitiesProcessed;

	@Label("Number Of Processed Collections")
	public int numberOfCollectionsProcessed;

	@Label("Auto Flush")
	public boolean isAutoFlush;

	@Override
	public String toString() {
		return NAME;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy