public interface TimestampedService
This is useful to invalidate high-level cache when deploying components in hot reload.
Modifier and Type | Method and Description |
---|---|
Long |
getLastModified()
Returns the last modification timestamp or null if unknown.
|
void |
setLastModified(Long lastModified)
Sets the last modified date.
|
Long getLastModified()
This method is useful for third-party code implementing caching on resources held by the component/service.
setLastModified(Long)
void setLastModified(Long lastModified)
This method is supposed to be called whenever the component/service resources or state changes.
getLastModified()
Copyright © 2017 Nuxeo. All rights reserved.