Package alpine.event.framework
Class SingletonCapableEvent
- java.lang.Object
-
- alpine.event.framework.AbstractChainableEvent
-
- alpine.event.framework.SingletonCapableEvent
-
- All Implemented Interfaces:
ChainableEvent,Event
public abstract class SingletonCapableEvent extends AbstractChainableEvent
This class makes it possible to specify event types which should only be processed sequentially (one at a time). This works in conjunction with theAbstractChainableEvent.chainIdentifier. In order for a SingletonCapableEvent to instruct singleton behavior,isSingletonshould be 'true' and a static chainIdentifier should be specified.- Since:
- 1.7.0
- Author:
- Steve Springett
-
-
Constructor Summary
Constructors Constructor Description SingletonCapableEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisSingleton()voidsetSingleton(boolean singleton)-
Methods inherited from class alpine.event.framework.AbstractChainableEvent
getChainIdentifier, getEventIdentifier, onFailure, onFailure, onFailure, onSuccess, onSuccess, onSuccess, setChainIdentifier
-
-