Package io.helidon.config.spi
Interface PollingStrategy.PollingEvent
-
- Enclosing interface:
- PollingStrategy
public static interface PollingStrategy.PollingEvent
Event indicating that data used in constructing a givenConfig
tree might have changed.- See Also:
PollingStrategy.ticks()
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static PollingStrategy.PollingEvent
now()
Creates a new instance ofPollingStrategy.PollingEvent
withInstant.now()
used as its timestamp.Instant
timestamp()
Returns the event timestamp.
-
-
-
Method Detail
-
timestamp
Instant timestamp()
Returns the event timestamp.- Returns:
- event timestamp
-
now
static PollingStrategy.PollingEvent now()
Creates a new instance ofPollingStrategy.PollingEvent
withInstant.now()
used as its timestamp.- Returns:
- new instance of event
-
-