protected static class DefaultServicesAssignmentHandler.Cache extends HashSet<String>
Modifier and Type | Field and Description |
---|---|
private long |
_sourceLastModified |
Constructor and Description |
---|
Cache(long sourceLastModified)
Build the cache
|
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(long newSourceLastModified)
Determine if the cache is valid
|
add, clear, clone, contains, isEmpty, iterator, remove, size, spliterator
equals, hashCode, removeAll
addAll, containsAll, retainAll, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
parallelStream, removeIf, stream
private long _sourceLastModified
public Cache(long sourceLastModified)
sourceLastModified
- The last modification datepublic boolean isValid(long newSourceLastModified)
newSourceLastModified
- The new last modification date