package org.hibernate.event.spi;
public class FlushEvent extends AbstractEvent {
private int numberOfEntitiesProcessed;
private int numberOfCollectionsProcessed;
public FlushEvent(EventSource source) {
super( source );
}
public int getNumberOfEntitiesProcessed() {
return numberOfEntitiesProcessed;
}
public void setNumberOfEntitiesProcessed(int numberOfEntitiesProcessed) {
this.numberOfEntitiesProcessed = numberOfEntitiesProcessed;
}
public int getNumberOfCollectionsProcessed() {
return numberOfCollectionsProcessed;
}
public void setNumberOfCollectionsProcessed(int numberOfCollectionsProcessed) {
this.numberOfCollectionsProcessed = numberOfCollectionsProcessed;
}
}