Class MemoryFlushEventListener
- java.lang.Object
-
- org.bonitasoft.engine.tracking.AbstractFlushEventListener
-
- org.bonitasoft.engine.tracking.memory.MemoryFlushEventListener
-
- All Implemented Interfaces:
FlushEventListener
public class MemoryFlushEventListener extends AbstractFlushEventListener
-
-
Field Summary
-
Fields inherited from class org.bonitasoft.engine.tracking.AbstractFlushEventListener
logger
-
-
Constructor Summary
Constructors Constructor Description MemoryFlushEventListener(boolean activateAtStart, TechnicalLoggerService logger, int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()FlushEventListenerResultflush(FlushEvent flushEvent)DayRecordgetDayRecord()java.lang.StringgetStatus()voidnotifyStartTracking()voidnotifyStopTracking()-
Methods inherited from class org.bonitasoft.engine.tracking.AbstractFlushEventListener
activate, deactivate, getName, isActive, log
-
-
-
-
Constructor Detail
-
MemoryFlushEventListener
public MemoryFlushEventListener(boolean activateAtStart, TechnicalLoggerService logger, int maxSize)
-
-
Method Detail
-
flush
public FlushEventListenerResult flush(FlushEvent flushEvent) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getStatus
public java.lang.String getStatus()
- Specified by:
getStatusin interfaceFlushEventListener- Overrides:
getStatusin classAbstractFlushEventListener
-
notifyStopTracking
public void notifyStopTracking()
-
notifyStartTracking
public void notifyStartTracking()
-
getDayRecord
public DayRecord getDayRecord()
-
clear
public void clear()
-
-