Interface StoreLastOnly
-
- All Superinterfaces:
ServerEvent
- All Known Subinterfaces:
KeepAlwaysLastStored
,SendEveryAmountOfTime
- All Known Implementing Classes:
UserSessionServerEvent
public interface StoreLastOnly extends ServerEvent
If an event implements this interface, the last added will be stored and the previous one will be cleaned from the store handled byServerEventDispatcherTask
in charge of dispatching allServerEvent
.- Author:
- Yohann Chastagnier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.silverpeas.core.notification.sse.ServerEvent
ServerEvent.ServerEventName
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default String
getStoreDiscriminator()
Gets the discriminator used into the store to detect same event instances.-
Methods inherited from interface org.silverpeas.core.notification.sse.ServerEvent
getData, getId, getName, isConcerned, isValidId, send, subType
-
-
-
-
Method Detail
-
getStoreDiscriminator
default String getStoreDiscriminator()
Gets the discriminator used into the store to detect same event instances.- Returns:
- the discriminator as string.
-
-