Package com.vaadin.flow.component
Interface HeartbeatListener
-
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface HeartbeatListener extends Serializable
Listener for listening to the heartbeat of the application.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
heartbeat(HeartbeatEvent event)
Notifies about a heartbeat received for UI.
-
-
-
Method Detail
-
heartbeat
void heartbeat(HeartbeatEvent event)
Notifies about a heartbeat received for UI.- Parameters:
event
- heartbeat event containing new value and receiving UI
-
-