Improve javadoc for some addons (#15701)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
@@ -236,7 +236,7 @@ public class PresenceDetection implements IPRequestReceivedCallback {
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the last seen value in milliseconds based on {@link System.currentTimeMillis()} or 0 if not seen yet.
|
||||
* Return the last seen value in milliseconds based on {@link System#currentTimeMillis()} or 0 if not seen yet.
|
||||
*/
|
||||
public long getLastSeen() {
|
||||
return lastSeenInMS;
|
||||
|
||||
@@ -51,7 +51,7 @@ public class ExpiringCacheAsync<V> {
|
||||
*
|
||||
* @param expiry the duration in milliseconds for how long the value stays valid. Must be greater than 0.
|
||||
* @param cacheUpdater The cache will use this callback if a new value is needed. Must not be null.
|
||||
* @throws IllegalArgumentException For an expire value <=0 or a null cacheUpdater.
|
||||
* @throws IllegalArgumentException For an expire value {@literal <=0} or a null cacheUpdater.
|
||||
*/
|
||||
public ExpiringCacheAsync(long expiry, @Nullable ExpiringCacheUpdate cacheUpdater) throws IllegalArgumentException {
|
||||
if (expiry <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user