Interface Staleness
- All Known Implementing Classes:
StalenessProperties
public interface Staleness
Allows to look up the
Duration after which EventPublications with
a certain EventPublication.Status are considered stale.- Since:
- 2.0
- Author:
- Oliver Drotbohm
-
Method Summary
Modifier and TypeMethodDescriptiongetStaleness(EventPublication.Status status) Returns theDurationafter whichEventPublications with a certainEventPublication.Statusare considered stale.
-
Method Details
-
getStaleness
Returns theDurationafter whichEventPublications with a certainEventPublication.Statusare considered stale.- Parameters:
status- must not be null.- Returns:
- will never be null.
-