Package org.nuxeo.ecm.core.event.impl
Class ShallowEvent
- java.lang.Object
-
- org.nuxeo.ecm.core.event.impl.EventImpl
-
- org.nuxeo.ecm.core.event.impl.ShallowEvent
-
- All Implemented Interfaces:
Serializable
,Event
public class ShallowEvent extends EventImpl
Light Event implementation. Used to reduce memory footprint ofEvent
stacked inEventBundle
.- Author:
- Thierry Delprat
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.core.event.impl.EventImpl
ctx, flags, name, rollbackException, rollbackMessage, time
-
Fields inherited from interface org.nuxeo.ecm.core.event.Event
FLAG_BUBBLE_EXCEPTION, FLAG_CANCEL, FLAG_COMMIT, FLAG_IMMEDIATE, FLAG_INLINE, FLAG_NONE, FLAG_ROLLBACK
-
-
Constructor Summary
Constructors Constructor Description ShallowEvent(String name, EventContext ctx, int flags, long creationTime)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ShallowEvent
create(Event event)
-
Methods inherited from class org.nuxeo.ecm.core.event.impl.EventImpl
cancel, getContext, getFlags, getName, getRollbackException, getRollbackMessage, getTime, isBubbleException, isCanceled, isCommitEvent, isImmediate, isInline, isMarkedForRollBack, markBubbleException, markRollBack, markRollBack, setImmediate, setInline, setIsCommitEvent
-
-
-
-
Constructor Detail
-
ShallowEvent
public ShallowEvent(String name, EventContext ctx, int flags, long creationTime)
-
-
Method Detail
-
create
public static ShallowEvent create(Event event)
-
-