Package voyeur
Class ARPCache
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.concurrent.ConcurrentSkipListMap<InetAddress,V>
-
- voyeur.InetAddressMap<HardwareAddress>
-
- voyeur.ARPCache
-
- All Implemented Interfaces:
Serializable
,Cloneable
,ConcurrentMap<InetAddress,HardwareAddress>
,ConcurrentNavigableMap<InetAddress,HardwareAddress>
,Map<InetAddress,HardwareAddress>
,NavigableMap<InetAddress,HardwareAddress>
,SortedMap<InetAddress,HardwareAddress>
@Service public class ARPCache extends InetAddressMap<HardwareAddress>
- Author:
- Allen D. Ball
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description ARPCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDisabled()
void
update()
-
Methods inherited from class java.util.concurrent.ConcurrentSkipListMap
ceilingEntry, ceilingKey, clear, clone, comparator, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, equals, firstEntry, firstKey, floorEntry, floorKey, forEach, get, getOrDefault, headMap, headMap, higherEntry, higherKey, isEmpty, keySet, lastEntry, lastKey, lowerEntry, lowerKey, merge, navigableKeySet, pollFirstEntry, pollLastEntry, put, putIfAbsent, remove, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
-
Methods inherited from class java.util.AbstractMap
hashCode, putAll, toString
-
-
-
-
Constructor Detail
-
ARPCache
public ARPCache()
-
-
Method Detail
-
update
@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) @Scheduled(fixedDelay=60000L) public void update()
-
isDisabled
public boolean isDisabled()
-
-