Package org.hibernate.event.spi
Class FlushEvent
- java.lang.Object
- org.hibernate.event.spi.AbstractEvent
- org.hibernate.event.spi.FlushEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AutoFlushEvent,DirtyCheckEvent
public classFlushEventextendsAbstractEvent
Defines an event class for the flushing of a session.- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description FlushEvent(EventSource source)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNumberOfCollectionsProcessed()intgetNumberOfEntitiesProcessed()voidsetNumberOfCollectionsProcessed(int numberOfCollectionsProcessed)voidsetNumberOfEntitiesProcessed(int numberOfEntitiesProcessed)Methods inherited from class org.hibernate.event.spi.AbstractEvent
getFactory,getSession
Constructor Detail
FlushEvent
public FlushEvent(EventSource source)
Method Detail
getNumberOfEntitiesProcessed
public int getNumberOfEntitiesProcessed()
setNumberOfEntitiesProcessed
public void setNumberOfEntitiesProcessed(int numberOfEntitiesProcessed)
getNumberOfCollectionsProcessed
public int getNumberOfCollectionsProcessed()
setNumberOfCollectionsProcessed
public void setNumberOfCollectionsProcessed(int numberOfCollectionsProcessed)